Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,8 @@ with gr.Blocks(css=custom_css) as demo:
|
|
66 |
with gr.Row():
|
67 |
with gr.Column(scale=1) as col1:
|
68 |
image = gr.Image(type='filepath', height=360)
|
69 |
-
|
|
|
70 |
gr.Examples(['examples/1.jpg', 'examples/2.jpg'], inputs=image, cache_examples=True, fn=detect, outputs = [lbl_overall, lbl_aigen, lbl_deepfake])
|
71 |
with gr.Column(scale=2) as col2:
|
72 |
lbl_overall.render()
|
|
|
66 |
with gr.Row():
|
67 |
with gr.Column(scale=1) as col1:
|
68 |
image = gr.Image(type='filepath', height=360)
|
69 |
+
limit_button = gr.Button("🚀 Detect", elem_classes="button-gradient")
|
70 |
+
detect_button = gr.Button("Detect", visible=False, elem_id="submit_btn")
|
71 |
gr.Examples(['examples/1.jpg', 'examples/2.jpg'], inputs=image, cache_examples=True, fn=detect, outputs = [lbl_overall, lbl_aigen, lbl_deepfake])
|
72 |
with gr.Column(scale=2) as col2:
|
73 |
lbl_overall.render()
|