Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ client = Client()
|
|
| 8 |
# Define the function for generating creative writing prompts
|
| 9 |
def generate_writing_prompt(user_input):
|
| 10 |
response = client.chat.completions.create(
|
| 11 |
-
model="
|
| 12 |
messages=[{"role": "user", "content": user_input}],
|
| 13 |
)
|
| 14 |
return response.choices[0].message.content
|
|
|
|
| 8 |
# Define the function for generating creative writing prompts
|
| 9 |
def generate_writing_prompt(user_input):
|
| 10 |
response = client.chat.completions.create(
|
| 11 |
+
model="gpt-4-turbo",
|
| 12 |
messages=[{"role": "user", "content": user_input}],
|
| 13 |
)
|
| 14 |
return response.choices[0].message.content
|