tommy24 commited on
Commit
9771e09
·
1 Parent(s): 64a5f8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -173,7 +173,7 @@ def function(Textbox, Textbox2, Textbox3):
173
  # )
174
  response = requests.post(target2, json=data)
175
  reply = response.content.decode("utf-8")
176
- reply = reply.replace(" ", "%20")
177
  # image_array = download_image(f"https://api.placid.app/u/pydav4ibo?quote[text]={reply}")
178
  data["messages"].append({"role": "assistant", "content": reply})
179
  return reply
 
173
  # )
174
  response = requests.post(target2, json=data)
175
  reply = response.content.decode("utf-8")
176
+ # reply = reply.replace(" ", "%20")
177
  # image_array = download_image(f"https://api.placid.app/u/pydav4ibo?quote[text]={reply}")
178
  data["messages"].append({"role": "assistant", "content": reply})
179
  return reply