sappuff commited on
Commit
41e512d
·
verified ·
1 Parent(s): e1d3993

Update app.py

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