Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,6 +78,7 @@ def chat(message, history, temperature, top_p, top_k, max_tokens):
|
|
| 78 |
demo = gr.ChatInterface(
|
| 79 |
fn=chat,
|
| 80 |
examples=[["Write me a poem about Machine Learning."]],
|
|
|
|
| 81 |
additional_inputs_accordion=gr.Accordion(
|
| 82 |
label="⚙️ Parameters", open=False, render=False
|
| 83 |
),
|
|
@@ -101,7 +102,6 @@ demo = gr.ChatInterface(
|
|
| 101 |
),
|
| 102 |
],
|
| 103 |
stop_btn="Stop Generation",
|
| 104 |
-
multimodal=True,
|
| 105 |
title="Chat With LLMs",
|
| 106 |
)
|
| 107 |
demo.launch()
|
|
|
|
| 78 |
demo = gr.ChatInterface(
|
| 79 |
fn=chat,
|
| 80 |
examples=[["Write me a poem about Machine Learning."]],
|
| 81 |
+
multimodal=True,
|
| 82 |
additional_inputs_accordion=gr.Accordion(
|
| 83 |
label="⚙️ Parameters", open=False, render=False
|
| 84 |
),
|
|
|
|
| 102 |
),
|
| 103 |
],
|
| 104 |
stop_btn="Stop Generation",
|
|
|
|
| 105 |
title="Chat With LLMs",
|
| 106 |
)
|
| 107 |
demo.launch()
|