AIMaster7 commited on
Commit
1eccefb
·
verified ·
1 Parent(s): 0f34634

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -40,7 +40,7 @@ async def chat_completion(request: ChatRequest):
40
  "model": request.model
41
  }
42
 
43
- if request.stream:
44
  def event_stream():
45
  chat_id = f"chatcmpl-{unix_id()}"
46
  created = int(time.time())
 
40
  "model": request.model
41
  }
42
 
43
+ if request.stream:
44
  def event_stream():
45
  chat_id = f"chatcmpl-{unix_id()}"
46
  created = int(time.time())