Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ try:
|
|
34 |
return classifier(input_text)
|
35 |
|
36 |
except Exception as e:
|
37 |
-
|
38 |
|
39 |
|
40 |
@tool
|
|
|
34 |
return classifier(input_text)
|
35 |
|
36 |
except Exception as e:
|
37 |
+
return f"Error fetching classification for text '{input_text}': {str(e)}"
|
38 |
|
39 |
|
40 |
@tool
|