Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
import time
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
with gr.Blocks() as demo:
|
| 6 |
chatbot = gr.Chatbot()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
import time
|
| 4 |
+
import os
|
| 5 |
+
|
| 6 |
+
openai_secret_key = os.environ.get('OPENAI_SECRET_KEY')
|
| 7 |
+
print(openai_secret_key)
|
| 8 |
|
| 9 |
with gr.Blocks() as demo:
|
| 10 |
chatbot = gr.Chatbot()
|