Omnibus commited on
Commit
2ad5c84
1 Parent(s): 8a5741e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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='filepath')
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")