Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ with gradio.Blocks() as demo:
|
|
36 |
participant = gradio.Dropdown(choices=[str(i) for i in range(1,4)], value="1")
|
37 |
design = gradio.Slider(1, 100, step=1, value=1)
|
38 |
with gradio.Column():
|
39 |
-
output = gradio.Plot()
|
40 |
|
41 |
team.change(fn=how_many_designs, inputs=[team, participant], outputs=[design])
|
42 |
participant.change(fn=how_many_designs, inputs=[team, participant], outputs=[design])
|
|
|
36 |
participant = gradio.Dropdown(choices=[str(i) for i in range(1,4)], value="1")
|
37 |
design = gradio.Slider(1, 100, step=1, value=1)
|
38 |
with gradio.Column():
|
39 |
+
output = gradio.Plot(value=print_design(1, 1, 1))
|
40 |
|
41 |
team.change(fn=how_many_designs, inputs=[team, participant], outputs=[design])
|
42 |
participant.change(fn=how_many_designs, inputs=[team, participant], outputs=[design])
|