YKajima commited on
Commit
5f41257
·
1 Parent(s): e53547c

add new line

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ async def chat(input_text, input_url):
69
  json_payload = json.dumps(payload)
70
  response = requests.post(endpoint, headers=headers, data=json_payload)
71
  response_msgs = extract_texts(response.text)
72
- result = ''.join(response_msgs)
73
  if input_url:
74
  result += f'\n{input_url}'
75
  return result
 
69
  json_payload = json.dumps(payload)
70
  response = requests.post(endpoint, headers=headers, data=json_payload)
71
  response_msgs = extract_texts(response.text)
72
+ result = '\n'.join(response_msgs)
73
  if input_url:
74
  result += f'\n{input_url}'
75
  return result