felixz commited on
Commit
627adc6
·
1 Parent(s): 3212ab4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
  from transformers import T5Tokenizer, T5ForConditionalGeneration
3
 
4
- tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-large")
5
- model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-large")
6
 
7
  title = ""
8
 
 
1
  import gradio as gr
2
  from transformers import T5Tokenizer, T5ForConditionalGeneration
3
 
4
+ tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-xl")
5
+ model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-xl")
6
 
7
  title = ""
8