RohitGuptaAI commited on
Commit
daa113d
·
1 Parent(s): fa1b5a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ def predict_2(txt_url, normalized_content_with_style):
119
 
120
  if txt_url.startswith("http://") or txt_url.startswith("https://"):
121
  predicted_label_title, confidence_score_title, predicted_label_content, confidence_scores_content, new_data = check_by_url(txt_url)
122
- elif text_url.startswith(""):
123
  model = DistilBertForSequenceClassification.from_pretrained(Save_model)
124
  tokenizer = DistilBertTokenizer.from_pretrained(Save_model)
125
 
 
119
 
120
  if txt_url.startswith("http://") or txt_url.startswith("https://"):
121
  predicted_label_title, confidence_score_title, predicted_label_content, confidence_scores_content, new_data = check_by_url(txt_url)
122
+ elif txt_url.startswith(""):
123
  model = DistilBertForSequenceClassification.from_pretrained(Save_model)
124
  tokenizer = DistilBertTokenizer.from_pretrained(Save_model)
125