Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,7 @@ sample_data = {
|
|
| 82 |
response = requests.post("https://ldhldh-api-for-unity.hf.space/run/predict_7", json={
|
| 83 |
"data": [
|
| 84 |
]}).json()
|
| 85 |
-
sample_data =
|
| 86 |
|
| 87 |
print(sample_data)
|
| 88 |
|
|
|
|
| 82 |
response = requests.post("https://ldhldh-api-for-unity.hf.space/run/predict_7", json={
|
| 83 |
"data": [
|
| 84 |
]}).json()
|
| 85 |
+
sample_data = eval(response["data"][0])
|
| 86 |
|
| 87 |
print(sample_data)
|
| 88 |
|