multimodalart HF staff julien-c HF staff commited on
Commit
54bc5b6
·
1 Parent(s): 6ce4e52

very minor tweak (#2)

Browse files

- very minor tweak (4d43ed5d913577b1c0b901fc7437526037a438c7)


Co-authored-by: Julien Chaumond <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ def get_creator(username):
150
  }
151
  response = requests.get(url, headers=headers)
152
 
153
- return json.loads(response.text)
154
 
155
  def extract_huggingface_username(username):
156
  data = get_creator(username)
 
150
  }
151
  response = requests.get(url, headers=headers)
152
 
153
+ return response.json()
154
 
155
  def extract_huggingface_username(username):
156
  data = get_creator(username)