Abs6187 commited on
Commit
3e4cf8e
·
verified ·
1 Parent(s): 9817165

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -7,7 +7,9 @@ import gradio as gr
7
  from datetime import datetime
8
 
9
  # Method to set OPENAI_API_KEY in Hugging Face Space
10
- os.environ["OPENAI_API_KEY"] = "your_api_key_here"
 
 
11
 
12
  APP_TITLE = "GPT5 Demo"
13
  APP_DESC = "A polished Gradio chat demo with presets, file context, tools, and export."
 
7
  from datetime import datetime
8
 
9
  # Method to set OPENAI_API_KEY in Hugging Face Space
10
+ import os
11
+ api_key = os.environ["OPENAI_API_KEY"]
12
+
13
 
14
  APP_TITLE = "GPT5 Demo"
15
  APP_DESC = "A polished Gradio chat demo with presets, file context, tools, and export."