Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -188,7 +188,7 @@ with gr.Blocks() as demo:
|
|
188 |
with gr.Group():
|
189 |
answer = gr.Textbox(label='The answer to your question is :')
|
190 |
|
191 |
-
btn.click(question_answer, inputs=[url, file, question,openAI_key], outputs=[answer], api_name="
|
192 |
#openai.api_key = os.getenv('Your_Key_Here')
|
193 |
demo.launch()
|
194 |
|
|
|
188 |
with gr.Group():
|
189 |
answer = gr.Textbox(label='The answer to your question is :')
|
190 |
|
191 |
+
btn.click(question_answer, inputs=[url, file, question,openAI_key], outputs=[answer], api_name="ask")
|
192 |
#openai.api_key = os.getenv('Your_Key_Here')
|
193 |
demo.launch()
|
194 |
|