Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ def fin_clear():
|
|
174 |
with gr.Blocks() as app:
|
175 |
gr.Markdown("""<center><h1>AI Image Detector<br><h4>(Test Demo - accuracy varies by model)""")
|
176 |
with gr.Column():
|
177 |
-
inp = gr.Image(type='
|
178 |
in_url=gr.Textbox(label="Image URL")
|
179 |
with gr.Row():
|
180 |
load_btn=gr.Button("Load URL")
|
|
|
174 |
with gr.Blocks() as app:
|
175 |
gr.Markdown("""<center><h1>AI Image Detector<br><h4>(Test Demo - accuracy varies by model)""")
|
176 |
with gr.Column():
|
177 |
+
inp = gr.Image(type='pil')
|
178 |
in_url=gr.Textbox(label="Image URL")
|
179 |
with gr.Row():
|
180 |
load_btn=gr.Button("Load URL")
|