amish1706 commited on
Commit
565663b
·
verified ·
1 Parent(s): 7714696

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -71,8 +71,8 @@ def upload_file(data_file):
71
 
72
  with gr.Blocks() as demo:
73
  with gr.Column():
74
- u = gr.UploadButton("Upload a file", file_count="single")
75
- u.upload(upload_file, u)
76
  gr.ChatInterface(
77
  yes_man,
78
  chatbot=gr.Chatbot(height=300),
 
71
 
72
  with gr.Blocks() as demo:
73
  with gr.Column():
74
+ u = gr.UploadButton("Upload a file", file_count="single")
75
+ u.upload(upload_file, u)
76
  gr.ChatInterface(
77
  yes_man,
78
  chatbot=gr.Chatbot(height=300),