samdo20 commited on
Commit
fda1ff9
·
verified ·
1 Parent(s): e67adcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  from huggingface_hub import hf_hub_download
4
 
5
  # Télécharger le modèle depuis Hugging Face
6
- model_path = hf_hub_download(repo_id="facebook/fasttext-language-identification", filename="lid.218.bin")
7
 
8
  # Charger le modèle avec FastText
9
  model = fasttext.load_model(model_path)
 
3
  from huggingface_hub import hf_hub_download
4
 
5
  # Télécharger le modèle depuis Hugging Face
6
+ model_path = hf_hub_download(repo_id="facebook/fasttext-language-identification", filename="model.bin")
7
 
8
  # Charger le modèle avec FastText
9
  model = fasttext.load_model(model_path)