Spaces:

npc0 commited on
Commit
0758bb9
1 Parent(s): 253c89e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 prolog.query_once("eligible_for_ssi(john_doe)")
19
  else:
20
- return "Ask me about `eligible_for_ssi`!"
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,