Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,13 +33,8 @@ def predict(image, text):
|
|
| 33 |
)
|
| 34 |
return output
|
| 35 |
|
| 36 |
-
PLACEHOLDER = """
|
| 37 |
-
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
|
| 38 |
-
<h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">FinLLaVA</h1>
|
| 39 |
-
</div>
|
| 40 |
-
"""
|
| 41 |
|
| 42 |
-
chatbot = gr.Chatbot(
|
| 43 |
chat_input = gr.MultimodalTextbox(interactive=True, file_types=["image"], placeholder="Enter message or upload file...", show_label=False)
|
| 44 |
|
| 45 |
with gr.Blocks(fill_height=True) as demo:
|
|
|
|
| 33 |
)
|
| 34 |
return output
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
+
chatbot = gr.Chatbot(scale=1)
|
| 38 |
chat_input = gr.MultimodalTextbox(interactive=True, file_types=["image"], placeholder="Enter message or upload file...", show_label=False)
|
| 39 |
|
| 40 |
with gr.Blocks(fill_height=True) as demo:
|