diff --git a/src/pages/GenerationSettings/index.tsx b/src/pages/GenerationSettings/index.tsx
index 0ff5632..b8ee25c 100644
--- a/src/pages/GenerationSettings/index.tsx
+++ b/src/pages/GenerationSettings/index.tsx
@@ -3,6 +3,8 @@ import { Save, X } from "lucide-solid";
import Button from "../../shared/Button";
import RangeInput from "../../shared/RangeInput";
+import Dropdown from "../../shared/Dropdown";
+import DropdownItem from "../../shared/DropdownItem";
const GenerationSettings: Component = () => (
<>
@@ -10,6 +12,14 @@ const GenerationSettings: Component = () => (
Some settings might not show up depending on which inference backend is being used.
+
+ Classic-Pygmalion-6b
+ Calibrated-Pygmalion-6b
+ GPU-Pygmalion-6b
+ DragonSlayer-Pygmalion-6b
+ Classic-Pygmalion-2.7b
+
+
= {
const Button: Component<{
children: JSX.Element;
+ onClick?: JSX.EventHandler;
schema?: ButtonSchema;
type?: "submit" | "reset" | "button";
disabled?: boolean;
@@ -17,6 +18,7 @@ const Button: Component<{
type={props.type || "button"}
class={`${schemaNameToClass[props.schema || "primary"]} justify-center`}
disabled={props.disabled}
+ onClick={props.onClick}
>
{props.children}
diff --git a/src/shared/Dropdown.tsx b/src/shared/Dropdown.tsx
new file mode 100644
index 0000000..c8b5414
--- /dev/null
+++ b/src/shared/Dropdown.tsx
@@ -0,0 +1,21 @@
+import { Component, JSX, Show, createSignal } from "solid-js";
+
+import Button from "./Button";
+
+import { ChevronDown } from "lucide-solid";
+
+const Dropdown: Component<{ children: JSX.Element, label: string }> = (props) => {
+ const [open, setOpen] = createSignal(false);
+
+ return(
+
+
+
{props.children}
+
+ );
+};
+
+export default Dropdown;
\ No newline at end of file
diff --git a/src/shared/DropdownItem.tsx b/src/shared/DropdownItem.tsx
new file mode 100644
index 0000000..1121e64
--- /dev/null
+++ b/src/shared/DropdownItem.tsx
@@ -0,0 +1,13 @@
+import { Component, JSX, createSignal } from "solid-js";
+
+const DropdownItem: Component<{
+ children: JSX.Element;
+ reference?: any;
+ onClick?: JSX.EventHandler;
+ }> = (props) => {
+ return (
+ {props.children}
+ );
+};
+
+export default DropdownItem;
diff --git a/src/tailwind.css b/src/tailwind.css
index 455b8f2..e8bd77e 100644
--- a/src/tailwind.css
+++ b/src/tailwind.css
@@ -87,4 +87,5 @@
border: none;
background: transparent;
}
+
}