Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 63 |
with gr.Column(scale=1) as col1:
|
| 64 |
image = gr.Image(type='filepath', height=360)
|
| 65 |
detect_button = gr.Button("Detect", elem_classes="button-gradient")
|
| 66 |
-
gr.Examples(['examples
|
| 67 |
with gr.Column(scale=2) as col2:
|
| 68 |
lbl_overall.render()
|
| 69 |
with gr.Row():
|
|
|
|
| 63 |
with gr.Column(scale=1) as col1:
|
| 64 |
image = gr.Image(type='filepath', height=360)
|
| 65 |
detect_button = gr.Button("Detect", elem_classes="button-gradient")
|
| 66 |
+
gr.Examples(['examples 1.jpg', 'examples 2.jpg'], inputs=image, cache_examples=True, fn=detect, outputs = [lbl_overall, lbl_aigen, lbl_deepfake])
|
| 67 |
with gr.Column(scale=2) as col2:
|
| 68 |
lbl_overall.render()
|
| 69 |
with gr.Row():
|