Update app.py
Browse files
app.py
CHANGED
@@ -57,8 +57,8 @@ with gr.Blocks() as demo:
|
|
57 |
with gr.Column():
|
58 |
input_file=gr.File(label="Upload PDF", file_count="single")
|
59 |
submit_btn=gr.Button("Submit")
|
60 |
-
|
61 |
-
send_btn.click(chatbot_response,[user_input,state],[chatbot, state])
|
62 |
|
63 |
if __name__ == "__main__":
|
64 |
# embeddings=GooglePalmEmbeddings(google_api_key=google_api)
|
|
|
57 |
with gr.Column():
|
58 |
input_file=gr.File(label="Upload PDF", file_count="single")
|
59 |
submit_btn=gr.Button("Submit")
|
60 |
+
# submit_btn.click(text_extract, [input_file], [user_input])
|
61 |
+
#send_btn.click(chatbot_response,[user_input,state],[chatbot, state])
|
62 |
|
63 |
if __name__ == "__main__":
|
64 |
# embeddings=GooglePalmEmbeddings(google_api_key=google_api)
|