Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ label = gr.outputs.Label()
|
|
37 |
|
38 |
examples = ['rock.jpg', 'paper.jpg', 'scissor.jpg']
|
39 |
|
40 |
-
intf = gr.Interface(fn=play_game, inputs=image, outputs= label)
|
41 |
#intf.blocks[0].block_id = 0 # Unique ID for the image input block
|
42 |
#intf.blocks[1].block_id = 1 # Unique ID for the label output block
|
43 |
intf.launch(inline=False)
|
|
|
37 |
|
38 |
examples = ['rock.jpg', 'paper.jpg', 'scissor.jpg']
|
39 |
|
40 |
+
intf = gr.Interface(fn=play_game, inputs=image, outputs= label, examples = examples)
|
41 |
#intf.blocks[0].block_id = 0 # Unique ID for the image input block
|
42 |
#intf.blocks[1].block_id = 1 # Unique ID for the label output block
|
43 |
intf.launch(inline=False)
|