ReacherTN's picture
Update app.py
a1331c2
raw
history blame contribute delete
389 Bytes
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()