Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -257,7 +257,7 @@ PROMPTS:
|
|
| 257 |
openai.api_key = os.getenv("OPENAI_API_KEY", "").strip()
|
| 258 |
try:
|
| 259 |
response = openai.ChatCompletion.create(
|
| 260 |
-
model="gpt-3.5-turbo"
|
| 261 |
messages=[
|
| 262 |
{"role": "system", "content": "You extract prompts and headers from grant text."},
|
| 263 |
{"role": "user", "content": prompt},
|
|
|
|
| 257 |
openai.api_key = os.getenv("OPENAI_API_KEY", "").strip()
|
| 258 |
try:
|
| 259 |
response = openai.ChatCompletion.create(
|
| 260 |
+
model="gpt-3.5-turbo",
|
| 261 |
messages=[
|
| 262 |
{"role": "system", "content": "You extract prompts and headers from grant text."},
|
| 263 |
{"role": "user", "content": prompt},
|