ldhldh commited on
Commit
79b5423
·
1 Parent(s): 2347b7b

Update app.py

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