yangtb24 commited on
Commit
e9eae75
·
verified ·
1 Parent(s): fbde1e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -591,10 +591,10 @@ def handsome_chat_completions():
591
 
592
  yield "data: [DONE]\n\n"
593
 
594
- return Response(
595
- stream_with_context(generate()),
596
- content_type="text/event-stream"
597
- )
598
 
599
  first_chunk_time = None
600
  full_response_content = ""
 
591
 
592
  yield "data: [DONE]\n\n"
593
 
594
+ return Response(
595
+ stream_with_context(generate()),
596
+ content_type="text/event-stream"
597
+ )
598
 
599
  first_chunk_time = None
600
  full_response_content = ""