ahmedsamirio commited on
Commit
c41bb5f
·
1 Parent(s): 873bd31

fixed share

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +2 -1
  2. app.py +2 -1
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -21,4 +21,5 @@ examples = ['onions_and_peppers.jpg', 'pepperoni_and_mushrooms.jpg']
21
  interpretation='default'
22
  enable_queue=True
23
 
24
- gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=10)).launch(share=True)
 
 
21
  interpretation='default'
22
  enable_queue=True
23
 
24
+ inf = gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=10))
25
+ inf.launch(inline=False)
app.py CHANGED
@@ -21,4 +21,5 @@ examples = ['onions_and_peppers.jpg', 'pepperoni_and_mushrooms.jpg']
21
  interpretation='default'
22
  enable_queue=True
23
 
24
- gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=10)).launch(share=True)
 
 
21
  interpretation='default'
22
  enable_queue=True
23
 
24
+ inf = gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=10))
25
+ inf.launch(inline=False)