allenpark commited on
Commit
eb7b56f
·
verified ·
1 Parent(s): 1aa6e35

change equal conditional to ==

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def clean_json_string(json_str):
75
  return json_str
76
 
77
  def model_call(question, document, answer):
78
- if question === "" or document === "" or answer === "":
79
  return "", ""
80
  NEW_FORMAT = PROMPT.format(question=question, document=document, answer=answer)
81
  print("ENTIRE NEW_FORMAT", NEW_FORMAT)
 
75
  return json_str
76
 
77
  def model_call(question, document, answer):
78
+ if question == "" or document == "" or answer == "":
79
  return "", ""
80
  NEW_FORMAT = PROMPT.format(question=question, document=document, answer=answer)
81
  print("ENTIRE NEW_FORMAT", NEW_FORMAT)