Eddyhzd commited on
Commit
3b313c8
·
1 Parent(s): 6284dca
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -14,6 +14,7 @@ def call_mcp(payload: dict):
14
  """Appel simple au serveur MCP Gradio"""
15
  headers = {"Content-Type": "application/json"}
16
  response = requests.post(MCP_URL, data=json.dumps(payload), headers=headers)
 
17
  response.raise_for_status()
18
  return response.json()
19
 
 
14
  """Appel simple au serveur MCP Gradio"""
15
  headers = {"Content-Type": "application/json"}
16
  response = requests.post(MCP_URL, data=json.dumps(payload), headers=headers)
17
+ print(response.json())
18
  response.raise_for_status()
19
  return response.json()
20