Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
|
10 |
qa_pipeline = pipeline("text2text-generation", model=model, tokenizer=tokenizer)
|
11 |
|
12 |
# Streamlit app layout
|
13 |
-
st.title("Question Answering with BART")
|
14 |
|
15 |
# Text area for the user to input a question
|
16 |
question = st.text_area("Enter your question:")
|
|
|
10 |
qa_pipeline = pipeline("text2text-generation", model=model, tokenizer=tokenizer)
|
11 |
|
12 |
# Streamlit app layout
|
13 |
+
st.title("Agriculture Question Answering with BART")
|
14 |
|
15 |
# Text area for the user to input a question
|
16 |
question = st.text_area("Enter your question:")
|