karanzrk commited on
Commit
2e43611
1 Parent(s): 32b39df

changed model path

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +0 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  def inference(text):
5
- classifier = pipeline("text-classification", model="C:/Users/Karan/Downloads/essayl0/checkpoint-1080/")
6
  output = classifier(text)
7
  return output[0]["label"]
8
 
 
2
  from transformers import pipeline
3
 
4
  def inference(text):
5
+ classifier = pipeline("text-classification", model="karanzrk/bert-IELTS")
6
  output = classifier(text)
7
  return output[0]["label"]
8
 
requirements.txt DELETED
@@ -1,2 +0,0 @@
1
- transformers
2
- torch