Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def download_and_push_model(progress=gr.Progress()):
|
|
| 18 |
|
| 19 |
# Initialize Hugging Face API
|
| 20 |
api = HfApi()
|
| 21 |
-
space_id = "lyimo/
|
| 22 |
model_url = "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth"
|
| 23 |
|
| 24 |
progress(0.05, desc="Ensuring repository exists...")
|
|
|
|
| 18 |
|
| 19 |
# Initialize Hugging Face API
|
| 20 |
api = HfApi()
|
| 21 |
+
space_id = "lyimo/tobacco"
|
| 22 |
model_url = "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth"
|
| 23 |
|
| 24 |
progress(0.05, desc="Ensuring repository exists...")
|