Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,7 +108,7 @@ def ImageChat(image, prompt="Analyze"):
|
|
| 108 |
try:
|
| 109 |
pyperclip.copy(formatted_response)
|
| 110 |
except pyperclip.PyperclipException as e:
|
| 111 |
-
return f"Error in copying to clipboard: {e}"
|
| 112 |
|
| 113 |
return formatted_response
|
| 114 |
except ValueError as e:
|
|
|
|
| 108 |
try:
|
| 109 |
pyperclip.copy(formatted_response)
|
| 110 |
except pyperclip.PyperclipException as e:
|
| 111 |
+
return f"Error in copying to clipboard: {e}\n\nHere is the generated response:\n{formatted_response}"
|
| 112 |
|
| 113 |
return formatted_response
|
| 114 |
except ValueError as e:
|