ldhldh commited on
Commit
0434080
·
1 Parent(s): 77bde2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -290,7 +290,7 @@ def fig2img(fig):
290
  img = Image.open(buf)
291
  return img
292
 
293
- if len(sample_data['gpus'])!=0:
294
  chart_generator = GenerateChart(sample_data.get("gpus", {}), bubble_spacing=0.1, n_bins=5)
295
 
296
 
 
290
  img = Image.open(buf)
291
  return img
292
 
293
+ if len(sample_data['gpus'])> 1:
294
  chart_generator = GenerateChart(sample_data.get("gpus", {}), bubble_spacing=0.1, n_bins=5)
295
 
296