Nils Durner
commited on
Commit
·
4ca4a77
1
Parent(s):
a467dc2
fix image processing
Browse files
app.py
CHANGED
@@ -227,7 +227,7 @@ with gr.Blocks() as demo:
|
|
227 |
|
228 |
with gr.Row():
|
229 |
btn = gr.UploadButton("📁 Upload", size="sm", file_count="multiple")
|
230 |
-
img_btn = gr.UploadButton("🖼️ Upload", size="sm", file_types=["image"])
|
231 |
undo_btn = gr.Button("↩️ Undo")
|
232 |
undo_btn.click(undo, inputs=[chatbot], outputs=[chatbot])
|
233 |
|
|
|
227 |
|
228 |
with gr.Row():
|
229 |
btn = gr.UploadButton("📁 Upload", size="sm", file_count="multiple")
|
230 |
+
img_btn = gr.UploadButton("🖼️ Upload", size="sm", file_count="multiple", file_types=["image"])
|
231 |
undo_btn = gr.Button("↩️ Undo")
|
232 |
undo_btn.click(undo, inputs=[chatbot], outputs=[chatbot])
|
233 |
|