SakshiRathi77 commited on
Commit
d1605e0
·
verified ·
1 Parent(s): ce35285

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -4,7 +4,7 @@ from huggingface_hub import hf_hub_download
4
 
5
 
6
  def download_models(model_id):
7
- hf_hub_download("SakshiRathi77/void-space-detection/weights", filename=f"{model_id}", local_dir=f"./")
8
  return f"./{model_id}"
9
 
10
  @spaces.GPU
@@ -48,9 +48,9 @@ def app():
48
  model_path = gr.Dropdown(
49
  label="Model",
50
  choices=[
51
- "best.pt"
52
  ],
53
- value="best.pt",
54
  )
55
  image_size = gr.Slider(
56
  label="Image Size",
 
4
 
5
 
6
  def download_models(model_id):
7
+ hf_hub_download("SakshiRathi77/void-space-detection", filename=f"{model_id}", local_dir=f"./")
8
  return f"./{model_id}"
9
 
10
  @spaces.GPU
 
48
  model_path = gr.Dropdown(
49
  label="Model",
50
  choices=[
51
+ "state_dict.pt"
52
  ],
53
+ value="state_dict.pt",
54
  )
55
  image_size = gr.Slider(
56
  label="Image Size",