Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,6 @@ def respond(
|
|
72 |
demo = gr.ChatInterface(
|
73 |
respond,
|
74 |
additional_inputs=[
|
75 |
-
gr.Dropdown(['Meta-Llama-3-70B-Instruct-Q3_K_M.gguf', 'Smaug-Llama-3-70B-Instruct-Q3_K_M.gguf'], label="Model"),
|
76 |
gr.Textbox(value="You are a helpful assistant.", label="System message"),
|
77 |
gr.Slider(minimum=1, maximum=8192, value=8192, step=1, label="Max new tokens"),
|
78 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
@@ -83,6 +82,7 @@ demo = gr.ChatInterface(
|
|
83 |
step=0.05,
|
84 |
label="Top-p (nucleus sampling)",
|
85 |
),
|
|
|
86 |
],
|
87 |
theme=gr.themes.Soft(primary_hue="green", secondary_hue="indigo", neutral_hue="zinc",font=[gr.themes.GoogleFont("Exo 2"), "ui-sans-serif", "system-ui", "sans-serif"]).set(
|
88 |
block_background_fill_dark="*neutral_800"
|
|
|
72 |
demo = gr.ChatInterface(
|
73 |
respond,
|
74 |
additional_inputs=[
|
|
|
75 |
gr.Textbox(value="You are a helpful assistant.", label="System message"),
|
76 |
gr.Slider(minimum=1, maximum=8192, value=8192, step=1, label="Max new tokens"),
|
77 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
|
|
82 |
step=0.05,
|
83 |
label="Top-p (nucleus sampling)",
|
84 |
),
|
85 |
+
gr.Dropdown(['Meta-Llama-3-70B-Instruct-Q3_K_M.gguf', 'Smaug-Llama-3-70B-Instruct-Q3_K_M.gguf'], label="Model"),
|
86 |
],
|
87 |
theme=gr.themes.Soft(primary_hue="green", secondary_hue="indigo", neutral_hue="zinc",font=[gr.themes.GoogleFont("Exo 2"), "ui-sans-serif", "system-ui", "sans-serif"]).set(
|
88 |
block_background_fill_dark="*neutral_800"
|