a9 commited on
Commit
6a97dd6
·
verified ·
1 Parent(s): 772ebef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ def generate_tasks(req: TaskRequest):
112
  }
113
 
114
  try:
115
- response = requests.post(target_url, json=payload, timeout=5)
116
  response.raise_for_status()
117
  except Exception as e:
118
  print(f"Failed to send data to server: {e}")
 
112
  }
113
 
114
  try:
115
+ response = requests.post(url, json=payload, timeout=5)
116
  response.raise_for_status()
117
  except Exception as e:
118
  print(f"Failed to send data to server: {e}")