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