Spaces:
Sleeping
Sleeping
response_image = predict_image(img_url, prompt_skills)
Browse files
app.py
CHANGED
@@ -212,7 +212,8 @@ def extract_info():
|
|
212 |
|
213 |
if data["img_url"] is not None:
|
214 |
prompt_skills = f"{PROMPT_IMAGE}\n"
|
215 |
-
|
|
|
216 |
else:
|
217 |
response_image = ''
|
218 |
|
|
|
212 |
|
213 |
if data["img_url"] is not None:
|
214 |
prompt_skills = f"{PROMPT_IMAGE}\n"
|
215 |
+
img_url = data["img_url"]
|
216 |
+
response_image = predict_image(img_url, prompt_skills)
|
217 |
else:
|
218 |
response_image = ''
|
219 |
|