Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -290,7 +290,8 @@ def fig2img(fig):
|
|
| 290 |
img = Image.open(buf)
|
| 291 |
return img
|
| 292 |
|
| 293 |
-
|
|
|
|
| 294 |
|
| 295 |
|
| 296 |
st.title('Inference call')
|
|
|
|
| 290 |
img = Image.open(buf)
|
| 291 |
return img
|
| 292 |
|
| 293 |
+
if len(sample_data.get("gpus", {}))!=0:
|
| 294 |
+
chart_generator = GenerateChart(sample_data.get("gpus", {}), bubble_spacing=0.1, n_bins=5)
|
| 295 |
|
| 296 |
|
| 297 |
st.title('Inference call')
|