ngxson HF staff commited on
Commit
2e98fa0
·
verified ·
1 Parent(s): 064404a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def fetch_manifest(model_id, tag_name):
46
  params_response = requests.get(params_url)
47
  params_response.raise_for_status()
48
  output += "\n\n======================\n\nParameters:\n"
49
- output += json.dumps(params_response.text, indent=2) + "\n"
50
 
51
  return output
52
 
 
46
  params_response = requests.get(params_url)
47
  params_response.raise_for_status()
48
  output += "\n\n======================\n\nParameters:\n"
49
+ output += json.dumps(params_response.json(), indent=2) + "\n"
50
 
51
  return output
52