Suhaib-27 commited on
Commit
860fc80
·
verified ·
1 Parent(s): ffe6886

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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")