Spaces:
Sleeping
Sleeping
Update app.py
Browse files14 unmodified lines1516171819202114 unmodified lines# URLs for the model and encoder hosted on Hugging FaceMODEL_URL = "https://huggingface.co/sameernotes/hindi-ocr/resolve/main/hindi_ocr_model.keras"ENCODER_URL = "https://huggingface.co/sameernotes/hindi-ocr/resolve/main/label_encoder.pkl"FONT_URL = "https://noto-website-2.storage.googleapis.com/pkgs/NotoSansDevanagari-Regular.ttf" # Optional font# Download model and encoderdef download_file(url, dest):14 unmodified lines1516171819202114 unmodified lines# URLs for the model and encoder hosted on Hugging FaceMODEL_URL = "https://huggingface.co/sameernotes/hindi-ocr/resolve/main/hindi_ocr_model.keras"ENCODER_URL = "https://huggingface.co/sameernotes/hindi-ocr/resolve/main/label_encoder.pkl"FONT_URL = "https://huggingface.co/sameernotes/hindi-ocr/resolve/main/NotoSansDevanagari-Regular.ttf" # Optional font# Download model and encoderdef download_file(url, dest):
app.py+1-1