Update app.py
Browse files
app.py
CHANGED
@@ -55,14 +55,14 @@ with gr.Blocks() as demo:
|
|
55 |
|
56 |
chatbot = gr.Chatbot()
|
57 |
state = gr.State([])
|
58 |
-
with gr.Row():
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
submit_btn.click(text_extract, [input_file], [user_input])
|
66 |
#send_btn.click(chatbot_response,[user_input,state],[chatbot, state])
|
67 |
|
68 |
if __name__ == "__main__":
|
|
|
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 |
|
68 |
if __name__ == "__main__":
|