Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -20,8 +20,8 @@ result = subprocess.run(
|
|
| 20 |
print("STDOUT:", result.stdout)
|
| 21 |
print("STDERR:", result.stderr)
|
| 22 |
|
| 23 |
-
if result.returncode != 0:
|
| 24 |
-
raise RuntimeError(f"Node.js error: {result.stderr}")
|
| 25 |
|
| 26 |
positions = json.loads(result.stdout)
|
| 27 |
lp_df_real = pd.json_normalize(positions)
|
|
|
|
| 20 |
print("STDOUT:", result.stdout)
|
| 21 |
print("STDERR:", result.stderr)
|
| 22 |
|
| 23 |
+
#if result.returncode != 0:
|
| 24 |
+
# raise RuntimeError(f"Node.js error: {result.stderr}")
|
| 25 |
|
| 26 |
positions = json.loads(result.stdout)
|
| 27 |
lp_df_real = pd.json_normalize(positions)
|