pvanand commited on
Commit
ab33860
·
verified ·
1 Parent(s): 4f7b7b0

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -396,7 +396,7 @@ async def presentation_chat(query: PresentationChatModel, background_tasks: Back
396
  # Collect the entire response
397
  full_response = ""
398
  async for chunk in response_stream.body_iterator:
399
- full_response += chunk.decode()
400
 
401
  # Extract the Marp presentation content
402
  marp_content = extract_data_from_tag(full_response, "marp_presentation")
 
396
  # Collect the entire response
397
  full_response = ""
398
  async for chunk in response_stream.body_iterator:
399
+ full_response += chunk
400
 
401
  # Extract the Marp presentation content
402
  marp_content = extract_data_from_tag(full_response, "marp_presentation")