chatbytes commited on
Commit
d051b0c
·
verified ·
1 Parent(s): 22ea68d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -55,13 +55,13 @@ with gr.Blocks() as demo:
55
 
56
  chatbot = gr.Chatbot()
57
  state = gr.State([])
58
- # with gr.Row():
59
- # with gr.Column():
60
- # user_input = gr.Textbox(show_label=False, placeholder="Type your message here...")
61
- # send_btn = gr.Button("Send")
62
- # with gr.Column():
63
- # input_file=gr.File(label="Upload PDF", file_count="single")
64
- # submit_btn=gr.Button("Submit")
65
  # submit_btn.click(text_extract, [input_file], [user_input])
66
  #send_btn.click(chatbot_response,[user_input,state],[chatbot, state])
67
 
 
55
 
56
  chatbot = gr.Chatbot()
57
  state = gr.State([])
58
+ with gr.Row():
59
+ with gr.Column():
60
+ user_input = gr.Textbox(show_label=False, placeholder="Type your message here...")
61
+ send_btn = gr.Button("Send")
62
+ with gr.Column():
63
+ input_file=gr.File(label="Upload PDF", file_count="single")
64
+ submit_btn=gr.Button("Submit")
65
  # submit_btn.click(text_extract, [input_file], [user_input])
66
  #send_btn.click(chatbot_response,[user_input,state],[chatbot, state])
67