dawood HF staff commited on
Commit
8c76e0e
·
1 Parent(s): 694cce4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="run")
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