Spaces:
Runtime error
Runtime error
File size: 389 Bytes
3a9d31e a1331c2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import gradio as gr
from predict import predict_one_image
input_image = [
gr.components.Image(type='filepath',label='Input Image')
]
label = gr.outputs.Label()
examples = ['10061.jpg','10013.jpg']
gr.Interface(
fn=predict_one_image,
inputs=input_image,
outputs=label,
title="Ai Image Generated Detector app",
examples=examples,
cache_examples=False,
).launch() |