Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def analyze_image(image, instruction):
|
|
| 58 |
except KeyError:
|
| 59 |
return "Error: Response format from the API is unexpected."
|
| 60 |
except Exception as e:
|
| 61 |
-
return f"Error:
|
| 62 |
|
| 63 |
# Gradio interface
|
| 64 |
iface = gr.Interface(
|
|
|
|
| 58 |
except KeyError:
|
| 59 |
return "Error: Response format from the API is unexpected."
|
| 60 |
except Exception as e:
|
| 61 |
+
return f"Error:"
|
| 62 |
|
| 63 |
# Gradio interface
|
| 64 |
iface = gr.Interface(
|