Spaces:
Running
Running
Commit
·
728a871
1
Parent(s):
57fa775
Update app.py
Browse files
app.py
CHANGED
@@ -183,11 +183,10 @@ with gr.Blocks() as demo:
|
|
183 |
question = gr.Textbox(label='Enter your question here')
|
184 |
btn = gr.Button(value='Submit')
|
185 |
btn.style(full_width=True)
|
186 |
-
|
187 |
with gr.Group():
|
188 |
answer = gr.Textbox(label='The answer to your question is :')
|
189 |
|
190 |
btn.click(question_answer, inputs=[url, file, question,openAI_key], outputs=[answer])
|
191 |
-
#openai.api_key = os.getenv('Your_Key_Here')
|
192 |
-
demo.launch()
|
193 |
|
|
|
|
183 |
question = gr.Textbox(label='Enter your question here')
|
184 |
btn = gr.Button(value='Submit')
|
185 |
btn.style(full_width=True)
|
186 |
+
#openai.api_key = os.getenv('Your_Key_Here')
|
187 |
with gr.Group():
|
188 |
answer = gr.Textbox(label='The answer to your question is :')
|
189 |
|
190 |
btn.click(question_answer, inputs=[url, file, question,openAI_key], outputs=[answer])
|
|
|
|
|
191 |
|
192 |
+
demo.launch()
|