ttphong68 commited on
Commit
09d3acc
·
1 Parent(s): a928014

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -4,8 +4,6 @@ import gradio as grad
4
  text2text_tkn= T5Tokenizer.from_pretrained("t5-small")
5
  mdl = T5ForConditionalGeneration.from_pretrained("t5-small")
6
 
7
-
8
-
9
  def text2text_sentiment(text):
10
  inp = "sst2 sentence: "+text
11
  enc = text2text_tkn(inp, return_tensors="pt")
 
4
  text2text_tkn= T5Tokenizer.from_pretrained("t5-small")
5
  mdl = T5ForConditionalGeneration.from_pretrained("t5-small")
6
 
 
 
7
  def text2text_sentiment(text):
8
  inp = "sst2 sentence: "+text
9
  enc = text2text_tkn(inp, return_tensors="pt")