kakuguo commited on
Commit
43d9484
1 Parent(s): 953d185

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def predict(message, history):
26
  frequency_penalty=0, # [-2,2]之间,该值越大则更倾向于产生不同的内容
27
  presence_penalty=0, # [-2,2]之间,该值越大则更倾向于产生不同的内容
28
  )
29
- yield response.choices[0]['message']['content'])
30
  # print(response.choices[0]['message']['content'])
31
  # partial_message = ""
32
  # for chunk in response:
 
26
  frequency_penalty=0, # [-2,2]之间,该值越大则更倾向于产生不同的内容
27
  presence_penalty=0, # [-2,2]之间,该值越大则更倾向于产生不同的内容
28
  )
29
+ yield response.choices[0]['message']['content']
30
  # print(response.choices[0]['message']['content'])
31
  # partial_message = ""
32
  # for chunk in response: