ccm commited on
Commit
e20b343
·
1 Parent(s): 329aa0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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