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