Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -172,7 +172,6 @@ def function(Textbox, Textbox2, Textbox3):
|
|
172 |
# model="gpt-3.5-turbo", messages=messages
|
173 |
# )
|
174 |
response = requests.post(target2, json=data)
|
175 |
-
print(response.content)
|
176 |
reply = response.content.decode("utf-8")
|
177 |
reply = reply.replace(" ", "%20")
|
178 |
image_array = download_image(f"https://api.placid.app/u/pydav4ibo?quote[text]={reply}")
|
|
|
172 |
# model="gpt-3.5-turbo", messages=messages
|
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}")
|