seawolf2357 commited on
Commit
ae66799
1 Parent(s): 9ed3146

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ huggingface에서 동작될 서비스를 만들것이기에 로컬에 라이브
85
 
86
  loop = asyncio.get_event_loop()
87
  response = await loop.run_in_executor(None, lambda: hf_client.chat_completion(
88
- messages, max_tokens=1000, stream=True, temperature=0.7, top_p=0.85))
89
 
90
  full_response = []
91
  for part in response:
 
85
 
86
  loop = asyncio.get_event_loop()
87
  response = await loop.run_in_executor(None, lambda: hf_client.chat_completion(
88
+ messages, max_tokens=4000, stream=True, temperature=0.7, top_p=0.85))
89
 
90
  full_response = []
91
  for part in response: