Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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-
|
5 |
-
model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-
|
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 |
|