Liusuthu commited on
Commit
9996f6b
·
verified ·
1 Parent(s): 6399fd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -125,8 +125,8 @@ def clear_dynamic_info():
125
  def clear_video():
126
  return (
127
  gr.Video(value=None),
128
- gr.Number(value=None),
129
- gr.Number(value=None),
130
  gr.Textbox("")
131
  )
132
  ##################################设置各自的app类####################
@@ -230,9 +230,9 @@ with gr.Blocks() as video_all:
230
  )
231
  with gr.Column(scale=2):
232
  with gr.Row():
233
- score1=gr.Number(interactive=False,label="score1")
234
  with gr.Row():
235
- score2=gr.Number(interactive=False,label="score2")
236
  with gr.Row():
237
  result3=gr.Textbox(interactive=False)
238
 
 
125
  def clear_video():
126
  return (
127
  gr.Video(value=None),
128
+ gr.Textbox(""),
129
+ gr.Textbox(""),
130
  gr.Textbox("")
131
  )
132
  ##################################设置各自的app类####################
 
230
  )
231
  with gr.Column(scale=2):
232
  with gr.Row():
233
+ score1=gr.Textbox(interactive=False,label="score1")
234
  with gr.Row():
235
+ score2=gr.Textbo(interactive=False,label="score2")
236
  with gr.Row():
237
  result3=gr.Textbox(interactive=False)
238