Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ answer_span = inputs["input_ids"][0][start_idx:end_idx]
|
|
43 |
answer = tokenizer.decode(answer_span)
|
44 |
|
45 |
|
46 |
-
if len(question) > 5:
|
47 |
-
|
48 |
-
else:
|
49 |
-
st.write('Please ask a longer question about the Amazon')
|
|
|
43 |
answer = tokenizer.decode(answer_span)
|
44 |
|
45 |
|
46 |
+
#if len(question) > 5:
|
47 |
+
st.write(f"Answer: {answer}")
|
48 |
+
#else:
|
49 |
+
#st.write('Please ask a longer question about the Amazon')
|