arham061 commited on
Commit
dd06f61
1 Parent(s): 5ace1dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -33,7 +33,7 @@ def play_game(img):
33
 
34
  image = gr.inputs.Image(shape=(192, 192))
35
  label = gr.outputs.Label()
36
- examples = ['rock.jpg', 'paper.jpg', 'scissor.jpg']
37
 
38
- intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
39
- intf.launch(inline=False)
 
33
 
34
  image = gr.inputs.Image(shape=(192, 192))
35
  label = gr.outputs.Label()
36
+ #examples = ['rock.jpg', 'paper.jpg', 'scissor.jpg']
37
 
38
+ intf = gr.Interface(fn=play_game, inputs=image, outputs=label)
39
+ intf.launch(inline=False, share = True)