Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -159,7 +159,7 @@ def fin_clear():
|
|
159 |
with gr.Blocks() as app:
|
160 |
gr.Markdown("""<center><h1>AI Image Detector<br><h4>(Test Demo - accuracy varies by model)""")
|
161 |
with gr.Column():
|
162 |
-
inp = gr.Image(type='
|
163 |
in_url=gr.Textbox(label="Image URL")
|
164 |
with gr.Row():
|
165 |
load_btn=gr.Button("Load URL")
|
|
|
159 |
with gr.Blocks() as app:
|
160 |
gr.Markdown("""<center><h1>AI Image Detector<br><h4>(Test Demo - accuracy varies by model)""")
|
161 |
with gr.Column():
|
162 |
+
inp = gr.Image(type='filepath')
|
163 |
in_url=gr.Textbox(label="Image URL")
|
164 |
with gr.Row():
|
165 |
load_btn=gr.Button("Load URL")
|