Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,9 @@ condition(john_doe, 'Blind')""")
|
|
15 |
janus.consult(tmp.name)
|
16 |
tmp.close()
|
17 |
if message.endswith("?"):
|
18 |
-
return
|
19 |
else:
|
20 |
-
|
21 |
|
22 |
gr.ChatInterface(
|
23 |
yes_man,
|
|
|
15 |
janus.consult(tmp.name)
|
16 |
tmp.close()
|
17 |
if message.endswith("?"):
|
18 |
+
return janus.query_once("eligible_for_ssi(john_doe)")
|
19 |
else:
|
20 |
+
yield janus.query("eligible_for_ssi(john_doe)")
|
21 |
|
22 |
gr.ChatInterface(
|
23 |
yes_man,
|