Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def generate_presentation_content(topic, client, max_retries=3):
|
|
| 44 |
"""
|
| 45 |
|
| 46 |
for attempt in range(max_retries):
|
| 47 |
-
response = client.text_generation(prompt, max_new_tokens=2000, temperature=0.7)
|
| 48 |
|
| 49 |
try:
|
| 50 |
json_str = extract_and_clean_json(response)
|
|
|
|
| 44 |
"""
|
| 45 |
|
| 46 |
for attempt in range(max_retries):
|
| 47 |
+
response = client.text_generation(prompt, max_new_tokens=2000, temperature=0.7)
|
| 48 |
|
| 49 |
try:
|
| 50 |
json_str = extract_and_clean_json(response)
|