Janmejaya commited on
Commit
55d9a1a
·
1 Parent(s): a879ef6

Update influencer_ui.py

Browse files
Files changed (1) hide show
  1. influencer_ui.py +1 -1
influencer_ui.py CHANGED
@@ -42,7 +42,7 @@ def show_influencer_search_page():
42
  if img_response.status_code == 200:
43
  image_url = f"downloaded_image_{response_dict.get('handle', 'NoName')}.jpg"
44
  with open(image_url, "wb") as file:
45
- file.write(response.content)
46
  influencers_data = {response_dict.get('handle', "No Name"): {"name": response_dict.get('name', 'No Name'),
47
  "image": image_url,
48
  "details": response_dict.get('bio', '')}}
 
42
  if img_response.status_code == 200:
43
  image_url = f"downloaded_image_{response_dict.get('handle', 'NoName')}.jpg"
44
  with open(image_url, "wb") as file:
45
+ file.write(img_response.content)
46
  influencers_data = {response_dict.get('handle', "No Name"): {"name": response_dict.get('name', 'No Name'),
47
  "image": image_url,
48
  "details": response_dict.get('bio', '')}}