litav commited on
Commit
802a34b
verified
1 Parent(s): d3e7a6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def loading_animation(image):
23
  def show_results(image):
24
  # 诪驻注讬诇 讗转 讛诪讜讚诇 讜诪讞讝讬专 讗转 讛转讜爪讗讜转
25
  result, confidence = predict(image)
26
- return gr.Video.update(visible=False), result, confidence
27
 
28
  # 讬爪讬专转 诪诪砖拽 Gradio
29
  with gr.Blocks() as demo:
 
23
  def show_results(image):
24
  # 诪驻注讬诇 讗转 讛诪讜讚诇 讜诪讞讝讬专 讗转 讛转讜爪讗讜转
25
  result, confidence = predict(image)
26
+ return gr.Video.update(visible=True), result, confidence
27
 
28
  # 讬爪讬专转 诪诪砖拽 Gradio
29
  with gr.Blocks() as demo: