OzoneAsai commited on
Commit
b75b70a
1 Parent(s): e1e1bd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -22,12 +22,8 @@ iface = gr.Interface(
22
  fn=classify_image,
23
  inputs="image",
24
  outputs="text",
25
- live=True,
26
- interpretation="default"
27
  )
28
 
29
  # Launch the Gradio Interface
30
- iface.launch()
31
-
32
-
33
- #gr.load("models/Falconsai/nsfw_image_detection").launch()
 
22
  fn=classify_image,
23
  inputs="image",
24
  outputs="text",
25
+ live=True # Remove the 'interpretation' argument
 
26
  )
27
 
28
  # Launch the Gradio Interface
29
+ iface.launch()