Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -149,13 +149,7 @@ def parse(category, chatbot):
|
|
149 |
|
150 |
|
151 |
|
152 |
-
|
153 |
-
if len(chatbot) > 0:
|
154 |
-
answer = chatbot[0][1]
|
155 |
-
else:
|
156 |
-
answer = ""
|
157 |
-
else:
|
158 |
-
answer = ""
|
159 |
|
160 |
if category not in Category.__members__:
|
161 |
# Handle the case when an invalid category is provided
|
|
|
149 |
|
150 |
|
151 |
|
152 |
+
answer = chatbot[0][1]
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
|
154 |
if category not in Category.__members__:
|
155 |
# Handle the case when an invalid category is provided
|