Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ def how_many_designs(team: int, participant: int):
|
|
12 |
return gradio.Slider.update(1, n, step=1)
|
13 |
|
14 |
def print_design(team: int, participant: int, design: int):
|
|
|
15 |
fig, ax = matplotlib.pyplot.subplots(1)
|
16 |
|
17 |
s = 0.3
|
|
|
12 |
return gradio.Slider.update(1, n, step=1)
|
13 |
|
14 |
def print_design(team: int, participant: int, design: int):
|
15 |
+
matplotlib.pyplot.close()
|
16 |
fig, ax = matplotlib.pyplot.subplots(1)
|
17 |
|
18 |
s = 0.3
|