CesarLeblanc commited on
Commit
3fe5707
1 Parent(s): 20742e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,10 +5,10 @@ import requests
5
  from bs4 import BeautifulSoup
6
  import random
7
 
8
- classification_model = pipeline("text-classification", model="CesarLeblanc/text_classification_model")
9
- mask_model = pipeline("fill-mask", model="CesarLeblanc/fill_mask_model")
10
 
11
- dataset = load_dataset("CesarLeblanc/text_classification_dataset")
12
 
13
  def return_text(habitat_label, habitat_score, confidence):
14
  if habitat_score*100 > confidence:
 
5
  from bs4 import BeautifulSoup
6
  import random
7
 
8
+ classification_model = pipeline("text-classification", model="CesarLeblanc/plantbert_text_classification_model")
9
+ mask_model = pipeline("fill-mask", model="CesarLeblanc/plantbert_fill_mask_model")
10
 
11
+ dataset = load_dataset("CesarLeblanc/plantbert_text_classification_dataset")
12
 
13
  def return_text(habitat_label, habitat_score, confidence):
14
  if habitat_score*100 > confidence: