Zhu-FaceOnLive commited on
Commit
5dbc1b3
·
verified ·
1 Parent(s): 56555ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,11 +72,11 @@ with gr.Blocks(css=custom_css) as demo:
72
  with gr.Row():
73
  with gr.Column(scale=1) as col1:
74
  image = gr.Image(type='filepath', height=360)
 
75
  limit_button = gr.Button("🚀 Detect", elem_classes="button-gradient")
76
  detect_button = gr.Button("Detect", visible=False, elem_id="submit_btn")
77
  gr.Examples(['examples/1.jpg', 'examples/2.jpg'], inputs=image, cache_examples=True, fn=detect, outputs = [lbl_overall, lbl_aigen, lbl_deepfake])
78
  with gr.Column(scale=2) as col2:
79
- gr.HTML("<div id='limit'></div>")
80
  lbl_overall.render()
81
  with gr.Row():
82
  with gr.Column():
 
72
  with gr.Row():
73
  with gr.Column(scale=1) as col1:
74
  image = gr.Image(type='filepath', height=360)
75
+ gr.HTML("<div id='limit'></div>")
76
  limit_button = gr.Button("🚀 Detect", elem_classes="button-gradient")
77
  detect_button = gr.Button("Detect", visible=False, elem_id="submit_btn")
78
  gr.Examples(['examples/1.jpg', 'examples/2.jpg'], inputs=image, cache_examples=True, fn=detect, outputs = [lbl_overall, lbl_aigen, lbl_deepfake])
79
  with gr.Column(scale=2) as col2:
 
80
  lbl_overall.render()
81
  with gr.Row():
82
  with gr.Column():