Aalaa commited on
Commit
90c1cae
·
verified ·
1 Parent(s): fd99045

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -96,10 +96,10 @@ image_interface = gr.Interface(
96
  gr.inputs.Image(type="pil", label="Input Image"),
97
  gr.inputs.Dropdown(
98
  choices=[
99
- "alshimaa/SEE_model_yolo7",
100
  #"kadirnar/yolov7-v0.1",
101
  ],
102
- default="alshimaa/SEE_model_yolo7",
103
  label="Model",
104
  )
105
  #gr.inputs.Slider(minimum=320, maximum=1280, default=640, step=32, label="Image Size")
@@ -108,7 +108,7 @@ image_interface = gr.Interface(
108
  ],
109
  outputs=gr.outputs.Image(type="filepath", label="Output Image"),
110
  title="Smart Environmental Eye (SEE)",
111
- examples=[['image1.jpg', 'alshimaa/SEE_model_yolo7', 640, 0.25, 0.45]],
112
  cache_examples=True,
113
  theme='huggingface',
114
  )
@@ -120,10 +120,10 @@ video_interface = gr.Interface(
120
  gr.inputs.Video(source = "upload", type = "mp4", label = "Input Video"),
121
  gr.inputs.Dropdown(
122
  choices=[
123
- "alshimaa/SEE_model_yolo7",
124
  #"kadirnar/yolov7-v0.1",
125
  ],
126
- default="alshimaa/SEE_model_yolo7",
127
  label="Model",
128
  ),
129
  ],
 
96
  gr.inputs.Image(type="pil", label="Input Image"),
97
  gr.inputs.Dropdown(
98
  choices=[
99
+ "Aalaa/Yolov7_Visual_Pollution_Detection",
100
  #"kadirnar/yolov7-v0.1",
101
  ],
102
+ default="Aalaa/Yolov7_Visual_Pollution_Detection",
103
  label="Model",
104
  )
105
  #gr.inputs.Slider(minimum=320, maximum=1280, default=640, step=32, label="Image Size")
 
108
  ],
109
  outputs=gr.outputs.Image(type="filepath", label="Output Image"),
110
  title="Smart Environmental Eye (SEE)",
111
+ examples=[['image1.jpg', 'Aalaa/Yolov7_Visual_Pollution_Detection', 640, 0.25, 0.45]],
112
  cache_examples=True,
113
  theme='huggingface',
114
  )
 
120
  gr.inputs.Video(source = "upload", type = "mp4", label = "Input Video"),
121
  gr.inputs.Dropdown(
122
  choices=[
123
+ "Aalaa/Yolov7_Visual_Pollution_Detection",
124
  #"kadirnar/yolov7-v0.1",
125
  ],
126
+ default="Aalaa/Yolov7_Visual_Pollution_Detection",
127
  label="Model",
128
  ),
129
  ],