Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def generate_mba_content(topic, api_key):
|
|
26 |
{"role": "user", "content": f"Generate content for the topic: {topic}"}
|
27 |
],
|
28 |
temperature=0.7,
|
29 |
-
max_tokens=
|
30 |
)
|
31 |
content = response.choices[0].message.content
|
32 |
# Convert to markdown if not already in the correct format
|
|
|
26 |
{"role": "user", "content": f"Generate content for the topic: {topic}"}
|
27 |
],
|
28 |
temperature=0.7,
|
29 |
+
max_tokens=4000
|
30 |
)
|
31 |
content = response.choices[0].message.content
|
32 |
# Convert to markdown if not already in the correct format
|