tao-shen commited on
Commit
2c2cdd4
·
1 Parent(s): 8e80192

fix: sync_hf.py try block indentation (SyntaxError)

Browse files
Files changed (1) hide show
  1. scripts/sync_hf.py +3 -3
scripts/sync_hf.py CHANGED
@@ -170,9 +170,9 @@ class GenericSync:
170
  print(f"[HuggingRun] Running: {cmd}")
171
  try:
172
  env = os.environ.copy()
173
- env.setdefault("PORT", APP_PORT)
174
- env.setdefault("APP_PORT", APP_PORT)
175
- process = subprocess.Popen(
176
  cmd,
177
  shell=True,
178
  env=env,
 
170
  print(f"[HuggingRun] Running: {cmd}")
171
  try:
172
  env = os.environ.copy()
173
+ env.setdefault("PORT", APP_PORT)
174
+ env.setdefault("APP_PORT", APP_PORT)
175
+ process = subprocess.Popen(
176
  cmd,
177
  shell=True,
178
  env=env,