umaiku commited on
Commit
49b284c
·
verified ·
1 Parent(s): c4465a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def respond(message, history: list[tuple[str, str]], system_message, max_tokens,
85
 
86
  print(message)
87
 
88
- is_law = client.text_classification(f"""Given the user question below, classify it as either being about "Law" or "Other".
89
  Do NOT respond with more than one word.
90
  Question:
91
  {message}""")
 
85
 
86
  print(message)
87
 
88
+ is_law = client.question_answering(f"""Given the user question below, classify it as either being about "Law" or "Other".
89
  Do NOT respond with more than one word.
90
  Question:
91
  {message}""")