ntsc207 commited on
Commit
a3ba790
·
verified ·
1 Parent(s): 679a52b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ def app():
113
  yolov9_infer = gr.Button(value="Inference")
114
  with gr.Column():
115
  gr.HTML("<h2>Output</h2>")
116
- if vid_path is not None:
117
  output_image = gr.Image(type="numpy",label="Output")
118
  output = output_image
119
  else:
 
113
  yolov9_infer = gr.Button(value="Inference")
114
  with gr.Column():
115
  gr.HTML("<h2>Output</h2>")
116
+ if img_path is not None:
117
  output_image = gr.Image(type="numpy",label="Output")
118
  output = output_image
119
  else: