Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,11 +43,15 @@ def respond(
|
|
43 |
response += token
|
44 |
yield response
|
45 |
|
46 |
-
theme="Nymbo/
|
|
|
|
|
47 |
|
48 |
demo = gr.ChatInterface(
|
49 |
respond,
|
50 |
theme=theme,
|
|
|
|
|
51 |
additional_inputs=[
|
52 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
53 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
43 |
response += token
|
44 |
yield response
|
45 |
|
46 |
+
theme="Nymbo/Alyx_Theme"
|
47 |
+
|
48 |
+
chatbot = gr.Chatbot(height=600)
|
49 |
|
50 |
demo = gr.ChatInterface(
|
51 |
respond,
|
52 |
theme=theme,
|
53 |
+
fill_height=True,
|
54 |
+
chatbot=chatbot,
|
55 |
additional_inputs=[
|
56 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
57 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|