ldhldh commited on
Commit
7ed1284
·
1 Parent(s): 9c01f4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -79,14 +79,14 @@ sample_data = {
79
  ]
80
  }
81
 
82
- response = requests.post("https://ldhldh-api-for-unity.hf.space/run/predict_7", json={
83
- "data": [
84
- ]}).json()
85
- sample_data = response["data"][0]
86
 
87
 
88
 
89
- user_num = len(sample_data['gpus'].items()
90
 
91
  total_gpu = sample_data['total']['total']
92
  used_gpu = sample_data['total']['used']
 
79
  ]
80
  }
81
 
82
+ #response = requests.post("https://ldhldh-api-for-unity.hf.space/run/predict_7", json={
83
+ # "data": [
84
+ # ]}).json()
85
+ #sample_data = response["data"][0]
86
 
87
 
88
 
89
+ user_num = len(sample_data['gpus'].items())
90
 
91
  total_gpu = sample_data['total']['total']
92
  used_gpu = sample_data['total']['used']