Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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'])
|
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 |
|