Upload app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import gradio as gr
|
|
| 8 |
# fetching the model from the ClearML
|
| 9 |
def fetch_model_from_HG():
|
| 10 |
try:
|
| 11 |
-
hg_model = hf_hub_download(repo_id="manvi23/GroupG", filename="best.pt")
|
| 12 |
return hg_model
|
| 13 |
except Exception as e:
|
| 14 |
print(f"Failed to fetch model from HuggingFace: {e}")
|
|
|
|
| 8 |
# fetching the model from the ClearML
|
| 9 |
def fetch_model_from_HG():
|
| 10 |
try:
|
| 11 |
+
hg_model = hf_hub_download(repo_id="manvi23/GroupG", filename="models/best.pt")
|
| 12 |
return hg_model
|
| 13 |
except Exception as e:
|
| 14 |
print(f"Failed to fetch model from HuggingFace: {e}")
|