Omnibus commited on
Commit
abc1620
·
1 Parent(s): ad2731a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -133,7 +133,7 @@ def fin_clear():
133
  with gr.Blocks() as app:
134
  gr.Markdown("""<center><h1>AI Image Detector<br><h4>(Test Demo - accuracy varies by model)""")
135
  with gr.Column():
136
- inp = gr.Pil()
137
  in_url=gr.Textbox(label="Image URL")
138
  with gr.Row():
139
  load_btn=gr.Button("Load URL")
 
133
  with gr.Blocks() as app:
134
  gr.Markdown("""<center><h1>AI Image Detector<br><h4>(Test Demo - accuracy varies by model)""")
135
  with gr.Column():
136
+ inp = gr.Image(type='numpy')
137
  in_url=gr.Textbox(label="Image URL")
138
  with gr.Row():
139
  load_btn=gr.Button("Load URL")