Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def generate_natural_language_description(tags, api_key=None):
|
|
| 64 |
"content": f"Here are the tags: {tags}\nPlease generate a vivid, imaginative scene description.",
|
| 65 |
},
|
| 66 |
],
|
| 67 |
-
model="gpt-
|
| 68 |
)
|
| 69 |
return response["choices"][0]["message"]["content"].strip()
|
| 70 |
except Exception as e:
|
|
|
|
| 64 |
"content": f"Here are the tags: {tags}\nPlease generate a vivid, imaginative scene description.",
|
| 65 |
},
|
| 66 |
],
|
| 67 |
+
model="gpt-4",
|
| 68 |
)
|
| 69 |
return response["choices"][0]["message"]["content"].strip()
|
| 70 |
except Exception as e:
|