Spaces:
Sleeping
Sleeping
goodudetheboy
commited on
Commit
•
be37152
1
Parent(s):
f749ddc
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import openai
|
|
2 |
import os
|
3 |
import gradio as gr
|
4 |
openai.api_key = os.environ['openai']
|
|
|
5 |
def write_essay(prompt, character, temperature, frequency_penalty, presence_penalty):
|
6 |
model="gpt-3.5-turbo"
|
7 |
temp_list = prompt.split()
|
|
|
2 |
import os
|
3 |
import gradio as gr
|
4 |
openai.api_key = os.environ['openai']
|
5 |
+
print(os.environ['openai'])
|
6 |
def write_essay(prompt, character, temperature, frequency_penalty, presence_penalty):
|
7 |
model="gpt-3.5-turbo"
|
8 |
temp_list = prompt.split()
|