Spaces:
Runtime error
Runtime error
vincentmin
commited on
Commit
•
6dafdaf
1
Parent(s):
ae05fd6
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def get_stream(string: str):
|
|
53 |
|
54 |
def parameter_accordion():
|
55 |
with gr.Accordion("Parameters", open=True):
|
56 |
-
model = gr.
|
57 |
choices = MODELS,
|
58 |
value = MODELS[0],
|
59 |
interactive=True,
|
@@ -96,7 +96,7 @@ def chat():
|
|
96 |
with gr.Column():
|
97 |
with gr.Accordion("Character", open=True):
|
98 |
choices = list(INSTRUCTIONS_MAPPING)
|
99 |
-
bot_name = gr.
|
100 |
choices=choices,
|
101 |
value=choices[0],
|
102 |
interactive=True,
|
@@ -123,9 +123,9 @@ def chat():
|
|
123 |
|
124 |
gr.Examples(
|
125 |
[
|
126 |
-
["Hi Yoda! How do I learn the force?"]
|
127 |
-
["Hi Elon! Give me an idea for a new startup."]
|
128 |
-
["Hi Kanye! What will be the theme of your next album?"]
|
129 |
["Hi Albert! Why did the apple fall from the tree?"],
|
130 |
],
|
131 |
inputs=inputs,
|
|
|
53 |
|
54 |
def parameter_accordion():
|
55 |
with gr.Accordion("Parameters", open=True):
|
56 |
+
model = gr.Radio(
|
57 |
choices = MODELS,
|
58 |
value = MODELS[0],
|
59 |
interactive=True,
|
|
|
96 |
with gr.Column():
|
97 |
with gr.Accordion("Character", open=True):
|
98 |
choices = list(INSTRUCTIONS_MAPPING)
|
99 |
+
bot_name = gr.Radio(
|
100 |
choices=choices,
|
101 |
value=choices[0],
|
102 |
interactive=True,
|
|
|
123 |
|
124 |
gr.Examples(
|
125 |
[
|
126 |
+
["Hi Yoda! How do I learn the force?"],
|
127 |
+
["Hi Elon! Give me an idea for a new startup."],
|
128 |
+
["Hi Kanye! What will be the theme of your next album?"],
|
129 |
["Hi Albert! Why did the apple fall from the tree?"],
|
130 |
],
|
131 |
inputs=inputs,
|