clarkchan commited on
Commit
fc55914
1 Parent(s): ee55769

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def chat(input):
11
  user_message = f'<span class="user">您说:{input}</span><br>'
12
  response = requests.post(url, json=data, headers=headers)
13
  bot_message = f'<span class="chatbot">ChatGPT:{response.text}</span><br>'
14
- conversation_history += user_message + bot_message
15
  return conversation_history
16
 
17
  css = '''
 
11
  user_message = f'<span class="user">您说:{input}</span><br>'
12
  response = requests.post(url, json=data, headers=headers)
13
  bot_message = f'<span class="chatbot">ChatGPT:{response.text}</span><br>'
14
+ conversation_history = user_message + bot_message
15
  return conversation_history
16
 
17
  css = '''