sameernotes commited on
Commit
fbe00ca
·
verified ·
1 Parent(s): f3f8308

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ import requests
15
  # URLs for the model and encoder hosted on Hugging Face
16
  MODEL_URL = "https://huggingface.co/sameernotes/hindi-ocr/resolve/main/hindi_ocr_model.keras"
17
  ENCODER_URL = "https://huggingface.co/sameernotes/hindi-ocr/resolve/main/label_encoder.pkl"
18
- FONT_URL = "https://noto-website-2.storage.googleapis.com/pkgs/NotoSansDevanagari-Regular.ttf" # Optional font
19
 
20
  # Download model and encoder
21
  def download_file(url, dest):
 
15
  # URLs for the model and encoder hosted on Hugging Face
16
  MODEL_URL = "https://huggingface.co/sameernotes/hindi-ocr/resolve/main/hindi_ocr_model.keras"
17
  ENCODER_URL = "https://huggingface.co/sameernotes/hindi-ocr/resolve/main/label_encoder.pkl"
18
+ FONT_URL = "https://huggingface.co/sameernotes/hindi-ocr/resolve/main/NotoSansDevanagari-Regular.ttf" # Optional font
19
 
20
  # Download model and encoder
21
  def download_file(url, dest):