Cartof commited on
Commit
79fdee7
1 Parent(s): 3831c37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def get_response(system, context, raw = False):
35
  statistics = f'This conversation Tokens usage【{response["usage"]["total_tokens"]} / 4096】 ( Question + above {response["usage"]["prompt_tokens"]},Answer {response["usage"]["completion_tokens"]} )'
36
  message = response["choices"][0]["message"]["content"]
37
 
38
- message_with_stats = f'{message}\n\n================\n\n'
39
  # message_with_stats = markdown.markdown(message_with_stats)
40
 
41
  return message, parse_text(message_with_stats)
 
35
  statistics = f'This conversation Tokens usage【{response["usage"]["total_tokens"]} / 4096】 ( Question + above {response["usage"]["prompt_tokens"]},Answer {response["usage"]["completion_tokens"]} )'
36
  message = response["choices"][0]["message"]["content"]
37
 
38
+ message_with_stats = f'{message}'
39
  # message_with_stats = markdown.markdown(message_with_stats)
40
 
41
  return message, parse_text(message_with_stats)