preetidav commited on
Commit
bd797d0
·
verified ·
1 Parent(s): 2eb2428

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Load pre-trained model for CoLA (linguistic acceptability)
5
- model_name = "sentence-transformers/all-MiniLM-L6-v2"
6
  classifier = pipeline("text-classification", model=model_name)
7
 
8
  def classify_sentence(sentence):
 
2
  from transformers import pipeline
3
 
4
  # Load pre-trained model for CoLA (linguistic acceptability)
5
+ model_name = "preetidav/salesforce-similarity-model"
6
  classifier = pipeline("text-classification", model=model_name)
7
 
8
  def classify_sentence(sentence):