Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,7 @@ dataset = load_dataset(huggingface_dataset_name)
|
|
10 |
model_name = 'google/flan-t5-base'
|
11 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
12 |
|
|
|
13 |
|
14 |
# get the topic
|
15 |
topic = st.text_area("Enter your desired Topic of Blog")
|
|
|
10 |
model_name = 'google/flan-t5-base'
|
11 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
12 |
|
13 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name, use_fast=True)
|
14 |
|
15 |
# get the topic
|
16 |
topic = st.text_area("Enter your desired Topic of Blog")
|