tommy24 commited on
Commit
a9bcad1
·
1 Parent(s): ee65998

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -172,7 +172,7 @@ def function(Textbox, Textbox2, Textbox3):
172
  # model="gpt-3.5-turbo", messages=messages
173
  # )
174
  response = requests.post(target2, json=data)
175
- print(post.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}")
@@ -495,4 +495,3 @@ iface.launch()
495
  # iface = gr.Interface(fn=function, inputs=inputs, outputs="text")
496
 
497
  # iface.launch()
498
-
 
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}")
 
495
  # iface = gr.Interface(fn=function, inputs=inputs, outputs="text")
496
 
497
  # iface.launch()