wilson989 commited on
Commit
a2dc36c
1 Parent(s): 4570124

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -109,4 +109,9 @@ async def chat_completions(request: Request):
109
  yield 'data: %s\n\n' % json.dumps(completion_data, separators=(',' ':'))
110
  yield 'data: [DONE]\n\n'
111
 
112
- return StreamingResponse(stream(), media_type='text/event-stream')
 
 
 
 
 
 
109
  yield 'data: %s\n\n' % json.dumps(completion_data, separators=(',' ':'))
110
  yield 'data: [DONE]\n\n'
111
 
112
+ return StreamingResponse(stream(), media_type='text/event-stream')
113
+
114
+
115
+
116
+ # if __name__ == '__main__':
117
+ # uvicorn.run("app:app", host=site_config['host'], port=site_config['port'])