Spaces:
Runtime error
Runtime error
bhaskartripathi
commited on
Commit
•
957bf1b
1
Parent(s):
62cee25
Update app.py
Browse files
app.py
CHANGED
@@ -234,7 +234,9 @@ with gr.Blocks() as demo:
|
|
234 |
btn.style(full_width=True)
|
235 |
|
236 |
with gr.Group():
|
237 |
-
answer = gr.Textbox(label='The answer to your question is :')
|
|
|
|
|
238 |
|
239 |
#btn.click(question_answer, inputs=[url, file, question,openAI_key], outputs=[answer])
|
240 |
btn.click(question_answer, inputs=[url, file, question, openAI_key, model], outputs=[answer])
|
|
|
234 |
btn.style(full_width=True)
|
235 |
|
236 |
with gr.Group():
|
237 |
+
#answer = gr.Textbox(label='The answer to your question is :')
|
238 |
+
answer = gr.Textbox(label='The answer to your question is :').style(show_copy_button=True)
|
239 |
+
|
240 |
|
241 |
#btn.click(question_answer, inputs=[url, file, question,openAI_key], outputs=[answer])
|
242 |
btn.click(question_answer, inputs=[url, file, question, openAI_key, model], outputs=[answer])
|