Update app.py
Browse files
app.py
CHANGED
|
@@ -4,9 +4,8 @@ from PIL import Image
|
|
| 4 |
import gradio as gr
|
| 5 |
from huggingface_hub import snapshot_download
|
| 6 |
|
| 7 |
-
# 1) Change this to your model repo (you already have it)
|
| 8 |
REPO_ID = "jiaxinnnnn/Interior-Style-Classification"
|
| 9 |
-
WEIGHTS_FILENAME = "Best_Accuracy.pt"
|
| 10 |
|
| 11 |
def load_model(repo_id: str) -> YOLO:
|
| 12 |
"""
|
|
|
|
| 4 |
import gradio as gr
|
| 5 |
from huggingface_hub import snapshot_download
|
| 6 |
|
|
|
|
| 7 |
REPO_ID = "jiaxinnnnn/Interior-Style-Classification"
|
| 8 |
+
WEIGHTS_FILENAME = "Best_Accuracy.pt"
|
| 9 |
|
| 10 |
def load_model(repo_id: str) -> YOLO:
|
| 11 |
"""
|