Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import torch
|
2 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
|
|
3 |
|
4 |
# Initialize the tokenizer from Hugging Face Transformers library
|
5 |
tokenizer = T5Tokenizer.from_pretrained('t5-small')
|
|
|
1 |
import torch
|
2 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
3 |
+
import gradio as gr
|
4 |
|
5 |
# Initialize the tokenizer from Hugging Face Transformers library
|
6 |
tokenizer = T5Tokenizer.from_pretrained('t5-small')
|