rohanphadke commited on
Commit
1677649
1 Parent(s): afdc6bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,4 +1,9 @@
1
  import gradio as gr
 
 
 
 
 
2
 
3
  def greet(name):
4
  return "Hello " + name + "!!"
 
1
  import gradio as gr
2
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification
3
+
4
+ pretrained = "rohanphadke/roberta-finetuned-triplebottomline"
5
+ tokenizer = AutoTokenizer.from_pretrained(pretrained)
6
+ model = AutoModelForSequenceClassification.from_pretrained(pretrained)
7
 
8
  def greet(name):
9
  return "Hello " + name + "!!"