Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,8 @@ def process_image(image_path, prompt):
|
|
83 |
api_url = os.environ['api_url']
|
84 |
print(api_url)
|
85 |
response = requests.post(api_url, json=json_data)
|
86 |
-
print(response.
|
|
|
87 |
return response.json()['critique']
|
88 |
|
89 |
|
|
|
83 |
api_url = os.environ['api_url']
|
84 |
print(api_url)
|
85 |
response = requests.post(api_url, json=json_data)
|
86 |
+
print("--->", response.status_code)
|
87 |
+
print("--->", response.text)
|
88 |
return response.json()['critique']
|
89 |
|
90 |
|