muhammadsalmanalfaridzi commited on
Commit
94533df
·
verified ·
1 Parent(s): b554d7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -214,6 +214,7 @@ with gr.Blocks() as iface:
214
  input_image = gr.Image(type="pil", label="Input Image")
215
  detect_image_button = gr.Button("Detect Image")
216
  output_image = gr.Image(label="Detect Object")
 
217
  detect_image_button.click(
218
  fn=detect_combined,
219
  inputs=input_image,
@@ -230,7 +231,4 @@ with gr.Blocks() as iface:
230
  outputs=[output_video]
231
  )
232
 
233
- with gr.Column():
234
- output_text = gr.Textbox(label="Counting Object")
235
-
236
- iface.launch()
 
214
  input_image = gr.Image(type="pil", label="Input Image")
215
  detect_image_button = gr.Button("Detect Image")
216
  output_image = gr.Image(label="Detect Object")
217
+ output_text = gr.Textbox(label="Counting Object")
218
  detect_image_button.click(
219
  fn=detect_combined,
220
  inputs=input_image,
 
231
  outputs=[output_video]
232
  )
233
 
234
+ iface.launch()