Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,9 +98,9 @@ chat_input = gr.MultimodalTextbox(
|
|
| 98 |
|
| 99 |
)
|
| 100 |
EXAMPLES = [
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
]
|
| 105 |
|
| 106 |
with gr.Blocks(css=CSS) as demo:
|
|
@@ -114,7 +114,7 @@ with gr.Blocks(css=CSS) as demo:
|
|
| 114 |
textbox=chat_input,
|
| 115 |
chatbot=chatbot,
|
| 116 |
fill_height=True,
|
| 117 |
-
additional_inputs_accordion=gr.Accordion(label="βοΈ Parameters", open=False, render=False),
|
| 118 |
additional_inputs=[
|
| 119 |
gr.Slider(
|
| 120 |
minimum=0,
|
|
|
|
| 98 |
|
| 99 |
)
|
| 100 |
EXAMPLES = [
|
| 101 |
+
{"text": "What is on the desk?", "files": ["./laptop.jpg"]},
|
| 102 |
+
{"text": "Where it is?", "files": ["./hotel.jpg"]},
|
| 103 |
+
{"text": "Can yo describe this image?", "files": ["./spacecat.png"]}
|
| 104 |
]
|
| 105 |
|
| 106 |
with gr.Blocks(css=CSS) as demo:
|
|
|
|
| 114 |
textbox=chat_input,
|
| 115 |
chatbot=chatbot,
|
| 116 |
fill_height=True,
|
| 117 |
+
#additional_inputs_accordion=gr.Accordion(label="βοΈ Parameters", open=False, render=False),
|
| 118 |
additional_inputs=[
|
| 119 |
gr.Slider(
|
| 120 |
minimum=0,
|