Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,12 +32,12 @@ data = query(
|
|
| 32 |
"options" : {"wait_for_model": True},
|
| 33 |
}
|
| 34 |
)
|
| 35 |
-
|
| 36 |
-
bot_answer = data["answer"]
|
| 37 |
-
message(f"{bot_answer} is the best task for this :)")
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
|
| 42 |
|
| 43 |
|
|
|
|
| 32 |
"options" : {"wait_for_model": True},
|
| 33 |
}
|
| 34 |
)
|
| 35 |
+
try:
|
| 36 |
+
bot_answer = data["answer"]
|
| 37 |
+
message(f"{bot_answer} is the best task for this :)")
|
| 38 |
|
| 39 |
+
except:
|
| 40 |
+
message("Let me see 👀 ")
|
| 41 |
|
| 42 |
|
| 43 |
|