Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def analyze_image(image, instruction):
|
|
| 51 |
temperature=0.1,
|
| 52 |
top_p=0.1,
|
| 53 |
)
|
| 54 |
-
|
| 55 |
# Extract the content from the first choice
|
| 56 |
analysis = response["choices"][0]["message"]["content"]
|
| 57 |
return analysis.strip()
|
|
|
|
| 51 |
temperature=0.1,
|
| 52 |
top_p=0.1,
|
| 53 |
)
|
| 54 |
+
print("API Response:", response)
|
| 55 |
# Extract the content from the first choice
|
| 56 |
analysis = response["choices"][0]["message"]["content"]
|
| 57 |
return analysis.strip()
|