Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -139,7 +139,7 @@ def load_model():
|
|
139 |
return pipe, tokenizer
|
140 |
|
141 |
def ask_model(question, context, pipe, tokenizer):
|
142 |
-
prompt = f"""Use only the following context to answer. If uncertain, say "I don't know
|
143 |
|
144 |
<context>
|
145 |
{context}
|
|
|
139 |
return pipe, tokenizer
|
140 |
|
141 |
def ask_model(question, context, pipe, tokenizer):
|
142 |
+
prompt = f"""Use only the following context to answer. If uncertain, say \"I don't know.\"
|
143 |
|
144 |
<context>
|
145 |
{context}
|