ysharma HF Staff commited on
Commit
085df0d
·
1 Parent(s): caee67b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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='Uploading...'), [], btn)
 
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)