AI-RESEARCHER-2024 commited on
Commit
282a71f
·
verified ·
1 Parent(s): a95c921

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -179,23 +179,23 @@ with gr.Blocks() as demo:
179
  with gr.Column():
180
  video_input = gr.Video(label="Upload Video")
181
  examples_original = gr.Examples(
182
- label="Original Videos",
183
  inputs=video_input,
184
  examples=examples_original,
185
  )
186
- examples_deepfake_roop = gr.Examples(
187
- label="Deepfake Roop Videos",
188
- inputs=video_input,
189
- examples=examples_deepfake_roop,
190
- )
191
  examples_deepfake_web = gr.Examples(
192
- label="Deepfake Web Videos",
193
  inputs=video_input,
194
  examples=examples_deepfake_web,
195
  )
 
 
 
 
 
196
  with gr.Column():
197
  output = gr.Textbox(label="Result")
198
- predict_button = gr.Button("Predict", elem_classes="gr-button")
199
 
200
  predict_button.click(fn=predict, inputs=video_input, outputs=output)
201
  demo.launch()
 
179
  with gr.Column():
180
  video_input = gr.Video(label="Upload Video")
181
  examples_original = gr.Examples(
182
+ label="Training: Original Videos",
183
  inputs=video_input,
184
  examples=examples_original,
185
  )
 
 
 
 
 
186
  examples_deepfake_web = gr.Examples(
187
+ label="Training: Deepfake Videos Generated Using Deepfakesweb",
188
  inputs=video_input,
189
  examples=examples_deepfake_web,
190
  )
191
+ examples_deepfake_roop = gr.Examples(
192
+ label="Testing: Deepfake Videos Generated Using Roop",
193
+ inputs=video_input,
194
+ examples=examples_deepfake_roop,
195
+ )
196
  with gr.Column():
197
  output = gr.Textbox(label="Result")
198
+ predict_button = gr.Button("Predict")
199
 
200
  predict_button.click(fn=predict, inputs=video_input, outputs=output)
201
  demo.launch()