Spaces:
Sleeping
Sleeping
change equal conditional to ==
Browse files
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
|
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)
|