JairoCesar commited on
Commit
f304cae
·
verified ·
1 Parent(s): 3345a7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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).get("generated_text")
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)