Spaces:
Sleeping
Sleeping
initial commit3
Browse files
app.py
CHANGED
|
@@ -3,8 +3,16 @@ import gradio as gr
|
|
| 3 |
import numpy as np
|
| 4 |
from huggingface_hub import hf_hub_download
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
# 1) download your SavedModel from the Hub
|
| 7 |
-
repo_id = "IDS75912/
|
| 8 |
hf_hub_download(repo_id, filename="config.json", repo_type="model", local_dir="./model")
|
| 9 |
hf_hub_download(repo_id, filename="metadata.json", repo_type="model", local_dir="./model")
|
| 10 |
hf_hub_download(repo_id, filename="model.weights.h5", repo_type="model", local_dir="./model")
|
|
|
|
| 3 |
import numpy as np
|
| 4 |
from huggingface_hub import hf_hub_download
|
| 5 |
|
| 6 |
+
|
| 7 |
+
# Repository Not Found for url: https://huggingface.co/IDS75912/CTAIAnimalClassifier/resolve/main/config.json.
|
| 8 |
+
# Please make sure you specified the correct `repo_id` and `repo_type`.
|
| 9 |
+
# If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication
|
| 10 |
+
# Invalid username or password
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
# 1) download your SavedModel from the Hub
|
| 15 |
+
repo_id = "IDS75912/masterclass-2025"
|
| 16 |
hf_hub_download(repo_id, filename="config.json", repo_type="model", local_dir="./model")
|
| 17 |
hf_hub_download(repo_id, filename="metadata.json", repo_type="model", local_dir="./model")
|
| 18 |
hf_hub_download(repo_id, filename="model.weights.h5", repo_type="model", local_dir="./model")
|