Spaces:
Runtime error

kevinkal commited on
Commit
5dc0dea
·
verified ·
1 Parent(s): 08e99a5

Update routers/powerpoint.py

Browse files
Files changed (1) hide show
  1. routers/powerpoint.py +2 -1
routers/powerpoint.py CHANGED
@@ -640,13 +640,14 @@ async def mistral_image_to_pptx(
640
  }
641
  )
642
 
643
- print(response)
644
  # Display usage information
645
  if hasattr(response, 'usage'):
646
  print(f"Mistral usage: {response.usage}")
647
 
648
  # Parse the response
649
  response_text = response.choices[0].message.content
 
650
  presentation_data = template_generator.get_response_schema().model_validate(json.loads(response_text))
651
 
652
  # Generate PPTX file
 
640
  }
641
  )
642
 
643
+
644
  # Display usage information
645
  if hasattr(response, 'usage'):
646
  print(f"Mistral usage: {response.usage}")
647
 
648
  # Parse the response
649
  response_text = response.choices[0].message.content
650
+ print(response_text)
651
  presentation_data = template_generator.get_response_schema().model_validate(json.loads(response_text))
652
 
653
  # Generate PPTX file