Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ sample_data = {
|
|
| 13 |
"gpus" : {
|
| 14 |
"Alice" : 16,
|
| 15 |
"Tom" : 16,
|
| 16 |
-
|
| 17 |
},
|
| 18 |
"total" : {
|
| 19 |
"total" : 28,
|
|
@@ -81,7 +81,7 @@ sample_data = {
|
|
| 81 |
response = requests.post("https://ldhldh-api-for-unity.hf.space/run/predict_7", json={
|
| 82 |
"data": [
|
| 83 |
]}).json()
|
| 84 |
-
sample_data = eval(response["data"][0])
|
| 85 |
|
| 86 |
print(sample_data)
|
| 87 |
|
|
|
|
| 13 |
"gpus" : {
|
| 14 |
"Alice" : 16,
|
| 15 |
"Tom" : 16,
|
| 16 |
+
"γ
γ΄γ
γ
" : 16,
|
| 17 |
},
|
| 18 |
"total" : {
|
| 19 |
"total" : 28,
|
|
|
|
| 81 |
response = requests.post("https://ldhldh-api-for-unity.hf.space/run/predict_7", json={
|
| 82 |
"data": [
|
| 83 |
]}).json()
|
| 84 |
+
#sample_data = eval(response["data"][0])
|
| 85 |
|
| 86 |
print(sample_data)
|
| 87 |
|