danieldux commited on
Commit
b525069
1 Parent(s): abb3495

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ token = os.getenv("HF_TOKEN")
11
  # gr.load("models/ICILS/xlm-r-icils-ilo", hf_token=token).launch()
12
 
13
  # Load the pre-trained model
14
- classifier = pipeline("text-classification", model="ICILS/xlm-r-icils-ilo", hf_token=token)
15
 
16
  # Define the prediction function
17
  @spaces.GPU
 
11
  # gr.load("models/ICILS/xlm-r-icils-ilo", hf_token=token).launch()
12
 
13
  # Load the pre-trained model
14
+ classifier = pipeline("text-classification", model="ICILS/xlm-r-icils-ilo", use_auth_token=token)
15
 
16
  # Define the prediction function
17
  @spaces.GPU