Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -344,7 +344,11 @@ with gr.Blocks(css=css, fill_width=True, title="Multimodal OCR2") as demo:
|
|
| 344 |
gr.Markdown("## Multimodal OCR2")
|
| 345 |
chatbot = pro.Chatbot(
|
| 346 |
height="calc(100vh - 200px)",
|
| 347 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 348 |
)
|
| 349 |
with pro.MultimodalInput(placeholder="Ask a question about your image or video...") as input_comp:
|
| 350 |
with ms.Slot("prefix"):
|
|
|
|
| 344 |
gr.Markdown("## Multimodal OCR2")
|
| 345 |
chatbot = pro.Chatbot(
|
| 346 |
height="calc(100vh - 200px)",
|
| 347 |
+
# FIX: Changed pro.Chatbot.WelcomeConfig to a dictionary
|
| 348 |
+
welcome_config={
|
| 349 |
+
"prompts": welcome_prompts,
|
| 350 |
+
"title": "Start by selecting an example:"
|
| 351 |
+
}
|
| 352 |
)
|
| 353 |
with pro.MultimodalInput(placeholder="Ask a question about your image or video...") as input_comp:
|
| 354 |
with ms.Slot("prefix"):
|