Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ question = st.text_input("Question:", "")
|
|
20 |
|
21 |
# Prepare the input text
|
22 |
input_text = f"question: {question} context: {context}"
|
23 |
-
input_ids = tokenizer.encode(input_text, return_tensors="pt")
|
24 |
|
25 |
# Generate the answer
|
26 |
|
|
|
20 |
|
21 |
# Prepare the input text
|
22 |
input_text = f"question: {question} context: {context}"
|
23 |
+
input_ids = tokenizer.encode(input_text, return_tensors="pt")
|
24 |
|
25 |
# Generate the answer
|
26 |
|