Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,6 +42,7 @@ def generate(
|
|
42 |
yield output
|
43 |
return output
|
44 |
|
|
|
45 |
|
46 |
additional_inputs=[
|
47 |
gr.Textbox(
|
@@ -85,8 +86,7 @@ additional_inputs=[
|
|
85 |
step=0.05,
|
86 |
interactive=True,
|
87 |
info="Penalize repeated tokens",
|
88 |
-
),
|
89 |
-
gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel")
|
90 |
|
91 |
]
|
92 |
|
@@ -99,7 +99,7 @@ examples=[["I'm planning a vacation to Japan. Can you suggest a one-week itinera
|
|
99 |
]
|
100 |
gr.Interface(
|
101 |
fn=generate,
|
102 |
-
outputs=
|
103 |
inputs=additional_inputs,
|
104 |
title="Mixtral 46.7B",
|
105 |
examples=examples,
|
|
|
42 |
yield output
|
43 |
return output
|
44 |
|
45 |
+
output = gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel")
|
46 |
|
47 |
additional_inputs=[
|
48 |
gr.Textbox(
|
|
|
86 |
step=0.05,
|
87 |
interactive=True,
|
88 |
info="Penalize repeated tokens",
|
89 |
+
), output
|
|
|
90 |
|
91 |
]
|
92 |
|
|
|
99 |
]
|
100 |
gr.Interface(
|
101 |
fn=generate,
|
102 |
+
outputs=output,
|
103 |
inputs=additional_inputs,
|
104 |
title="Mixtral 46.7B",
|
105 |
examples=examples,
|