Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,10 +13,10 @@ def check_if_message_empty(message):
|
|
13 |
|
14 |
|
15 |
if check_if_message_empty is True :
|
16 |
-
|
17 |
-
else :
|
18 |
-
|
19 |
-
|
20 |
def respond(
|
21 |
message,
|
22 |
history: list[tuple[str, str]],
|
|
|
13 |
|
14 |
|
15 |
if check_if_message_empty is True :
|
16 |
+
gr.Warning("you'r message is empty")
|
17 |
+
else :
|
18 |
+
continue
|
19 |
+
|
20 |
def respond(
|
21 |
message,
|
22 |
history: list[tuple[str, str]],
|