Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def predict_text(params):
|
|
| 31 |
# job_id = params.get("job_id", "")
|
| 32 |
|
| 33 |
if not texts:
|
| 34 |
-
return { "error": f"
|
| 35 |
|
| 36 |
solutions = []
|
| 37 |
|
|
|
|
| 31 |
# job_id = params.get("job_id", "")
|
| 32 |
|
| 33 |
if not texts:
|
| 34 |
+
return { "error": f"No Text Given"}
|
| 35 |
|
| 36 |
solutions = []
|
| 37 |
|