Suprath commited on
Commit
e7658e9
·
verified ·
1 Parent(s): f113e41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -225,9 +225,9 @@ with demo:
225
  detect_landmark_btn = gr.Button("Detect landmark")
226
  detect_landmark_btn.click(preprocess_video, [video_in], [
227
  video_out])
228
- predict_btn = gr.Button("Predict and save")
229
  #predict_btn.click(predict, [video_out], [text_output])
230
- predict_btn.click(predict_and_save, [video_out], [text_output])
231
  with gr.Row():
232
  # video_lip = gr.Video(label="Audio Visual Video", mirror_webcam=False)
233
  text_output.render()
 
225
  detect_landmark_btn = gr.Button("Detect landmark")
226
  detect_landmark_btn.click(preprocess_video, [video_in], [
227
  video_out])
228
+ predict_btn = gr.Button("Predict")
229
  #predict_btn.click(predict, [video_out], [text_output])
230
+ predict_btn.click(predict, [video_out], [text_output])
231
  with gr.Row():
232
  # video_lip = gr.Video(label="Audio Visual Video", mirror_webcam=False)
233
  text_output.render()