Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
|
6 |
st.title("Generating Response with HuggingFace Models")
|
7 |
st.markdown("## Model: `facebook/blenderbot-400M-distill`")
|
8 |
|
|
|
9 |
with st.spinner("Getting this ready for you.."):
|
10 |
model_name = "facebook/blenderbot-400M-distill"
|
11 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
|
|
6 |
st.title("Generating Response with HuggingFace Models")
|
7 |
st.markdown("## Model: `facebook/blenderbot-400M-distill`")
|
8 |
|
9 |
+
|
10 |
with st.spinner("Getting this ready for you.."):
|
11 |
model_name = "facebook/blenderbot-400M-distill"
|
12 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|