breadlicker45 commited on
Commit
19ab706
·
verified ·
1 Parent(s): 9e7792e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ HF_TOKEN = os.getenv("HF_TOKEN")
11
  if HF_TOKEN is None:
12
  raise ValueError("Hugging Face token not found. Please set the HF_TOKEN secret in your Space settings.")
13
 
14
- MODEL_ID = "breadlicker45/bilingual-large-gender-v4-test"
15
  device = "cuda" if torch.cuda.is_available() else "cpu"
16
  print(f"Using device: {device}")
17
 
@@ -60,7 +60,7 @@ def classify_gender(text: str) -> dict:
60
 
61
  DESCRIPTION = """
62
  ## Bilingual Gender Classifier
63
- This is a demo for the private model `breadlicker45/bilingual-large-gender-v4-test`.
64
  Enter a sentence and the model will predict whether the text has a male, female, or non-binary.
65
  **Disclaimer:** This model, like any AI, can have biases and may not always be accurate.
66
  """
 
11
  if HF_TOKEN is None:
12
  raise ValueError("Hugging Face token not found. Please set the HF_TOKEN secret in your Space settings.")
13
 
14
+ MODEL_ID = "breadlicker45/bilingual-base-gender-v4.1-test"
15
  device = "cuda" if torch.cuda.is_available() else "cpu"
16
  print(f"Using device: {device}")
17
 
 
60
 
61
  DESCRIPTION = """
62
  ## Bilingual Gender Classifier
63
+ This is a demo for the model `bilingual-base-gender-v4.1-test`.
64
  Enter a sentence and the model will predict whether the text has a male, female, or non-binary.
65
  **Disclaimer:** This model, like any AI, can have biases and may not always be accurate.
66
  """