Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from huggingface_hub import InferenceClient
|
|
2 |
import gradio as gr
|
3 |
|
4 |
options =["mistralai/Mixtral-8x7B-Instruct-v0.1"
|
5 |
-
|
6 |
]
|
7 |
|
8 |
|
@@ -46,14 +46,11 @@ def generate(
|
|
46 |
return output
|
47 |
|
48 |
|
49 |
-
|
50 |
-
model = gr.Dropdown(choices = options)
|
51 |
-
]
|
52 |
|
53 |
gr.ChatInterface(
|
54 |
fn=generate,
|
55 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
56 |
-
additional_inputs=additional_inputs,
|
57 |
title="Choose your hero🦸",
|
58 |
concurrency_limit=20,
|
59 |
theme = gr.themes.Default(primary_hue= gr.themes.colors.blue, secondary_hue=gr.themes.colors.red)
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
options =["mistralai/Mixtral-8x7B-Instruct-v0.1"
|
5 |
+
|
6 |
]
|
7 |
|
8 |
|
|
|
46 |
return output
|
47 |
|
48 |
|
49 |
+
|
|
|
|
|
50 |
|
51 |
gr.ChatInterface(
|
52 |
fn=generate,
|
53 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
|
|
54 |
title="Choose your hero🦸",
|
55 |
concurrency_limit=20,
|
56 |
theme = gr.themes.Default(primary_hue= gr.themes.colors.blue, secondary_hue=gr.themes.colors.red)
|