Spaces:
Build error
Build error
Commit ·
5fef2a3
1
Parent(s): 244b5d4
updload
Browse files
app.py
CHANGED
|
@@ -184,5 +184,5 @@ with gr.Blocks() as demo:
|
|
| 184 |
answer = gr.Textbox(label='The answer to your question is :')
|
| 185 |
|
| 186 |
btn.click(question_answer, inputs=[url, file, question,openAI_key], outputs=[answer])
|
| 187 |
-
|
| 188 |
-
demo.launch()
|
|
|
|
| 184 |
answer = gr.Textbox(label='The answer to your question is :')
|
| 185 |
|
| 186 |
btn.click(question_answer, inputs=[url, file, question,openAI_key], outputs=[answer])
|
| 187 |
+
openai.api_key = os.getenv('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')
|
| 188 |
+
demo.launch(share=True)
|