Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,8 @@ with gr.Blocks() as demo:
|
|
45 |
file_msg = btn.upload(add_file, [chatbot, btn], [chatbot], queue=False).then(
|
46 |
bot, chatbot, chatbot
|
47 |
)
|
48 |
-
btn.upload(lambda : gr.update(label='
|
|
|
49 |
|
50 |
demo.queue()
|
51 |
demo.launch(debug=True)
|
|
|
45 |
file_msg = btn.upload(add_file, [chatbot, btn], [chatbot], queue=False).then(
|
46 |
bot, chatbot, chatbot
|
47 |
)
|
48 |
+
btn.upload(lambda : gr.update(label='⬆️🖼️'), [], btn)
|
49 |
+
txt_msg = txt.submit(lambda : gr.update(label="📁", interactive=True),[],btn)
|
50 |
|
51 |
demo.queue()
|
52 |
demo.launch(debug=True)
|