AlshimaaGamalAlsaied commited on
Commit
ef9915c
1 Parent(s): b56be5d
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -39,10 +39,10 @@ inputs = [
39
  gr.inputs.Image(type="pil", label="Input Image"),
40
  gr.inputs.Dropdown(
41
  choices=[
42
- "C:/Users/شيماء/Desktop/seeds/مسابقة/dataset/SEE/best_baseline",
43
  "kadirnar/yolov7-v0.1",
44
  ],
45
- default="C:/Users/شيماء/Desktop/seeds/مسابقة/dataset/SEE/best_baseline",
46
  label="Model",
47
  ),
48
  gr.inputs.Slider(minimum=320, maximum=1280, default=640, step=32, label="Image Size"),
@@ -53,7 +53,7 @@ inputs = [
53
  outputs = gr.outputs.Image(type="filepath", label="Output Image")
54
  title = "Yolov7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors"
55
 
56
- examples = [['image.jpg.', 'kadirnar/yolov7-tiny-v0.1', 640, 0.25, 0.45], ['image.jpg', 'kadirnar/yolov7-v0.1', 640, 0.25, 0.45]]
57
  demo_app = gr.Interface(
58
  fn=yolov7_inference,
59
  inputs=inputs,
 
39
  gr.inputs.Image(type="pil", label="Input Image"),
40
  gr.inputs.Dropdown(
41
  choices=[
42
+ "SEE/best_baseline",
43
  "kadirnar/yolov7-v0.1",
44
  ],
45
+ default="SEE/best_baseline",
46
  label="Model",
47
  ),
48
  gr.inputs.Slider(minimum=320, maximum=1280, default=640, step=32, label="Image Size"),
 
53
  outputs = gr.outputs.Image(type="filepath", label="Output Image")
54
  title = "Yolov7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors"
55
 
56
+ examples = [['image.jpg.', 'SEE/best_baseline', 640, 0.25, 0.45], ['image.jpg', 'SEE/best_baseline', 640, 0.25, 0.45]]
57
  demo_app = gr.Interface(
58
  fn=yolov7_inference,
59
  inputs=inputs,