Spaces:
Sleeping
Sleeping
adhya-putra
commited on
Commit
•
0850612
1
Parent(s):
e958e72
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import openai
|
|
4 |
import gradio as gr
|
5 |
import os
|
6 |
|
7 |
-
os.environ["OPENAI_API_KEY"] = os.getenv(
|
8 |
|
9 |
llm = ChatOpenAI(temperature=1.0, model='gpt-3.5-turbo-1106')
|
10 |
|
|
|
4 |
import gradio as gr
|
5 |
import os
|
6 |
|
7 |
+
os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY") # Replace with your key
|
8 |
|
9 |
llm = ChatOpenAI(temperature=1.0, model='gpt-3.5-turbo-1106')
|
10 |
|