keyboardsage commited on
Commit
847614f
·
verified ·
1 Parent(s): dfc48f4

Update app.py

Browse files

Removed interpretation=interpretation

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -21,4 +21,5 @@ enable_queue=True
21
 
22
  # fix by removing "outputs." and "inputs."
23
  # fix by shape=(512, 512) changed to height=512, width=512 then changed to type="pil"
24
- gr.Interface(fn=predict,inputs=gr.Image(type="pil"),outputs=gr.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
 
 
21
 
22
  # fix by removing "outputs." and "inputs."
23
  # fix by shape=(512, 512) changed to height=512, width=512 then changed to type="pil"
24
+ # fix: removed interpretation=interpretation
25
+ gr.Interface(fn=predict,inputs=gr.Image(type="pil"),outputs=gr.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,enable_queue=enable_queue).launch()