Spaces:
Sleeping
Sleeping
Update influencer_ui.py
Browse files- influencer_ui.py +2 -1
influencer_ui.py
CHANGED
|
@@ -38,10 +38,11 @@ def show_influencer_search_page():
|
|
| 38 |
influencers_data = {response_dict.get('handle', "No Name"): {"name": response_dict.get('name', 'No Name'),
|
| 39 |
"image": response_dict.get('profile_image_url', profile_default_image_url),
|
| 40 |
"details": response_dict.get('bio', '')}}
|
|
|
|
| 41 |
# Display influencer images as clickable buttons
|
| 42 |
for influencer_id, influencer_info in influencers_data.items():
|
| 43 |
col1, col2 = st.columns([1, 3])
|
| 44 |
-
|
| 45 |
with col1:
|
| 46 |
st.image(influencer_info["image"], width=50)
|
| 47 |
|
|
|
|
| 38 |
influencers_data = {response_dict.get('handle', "No Name"): {"name": response_dict.get('name', 'No Name'),
|
| 39 |
"image": response_dict.get('profile_image_url', profile_default_image_url),
|
| 40 |
"details": response_dict.get('bio', '')}}
|
| 41 |
+
st.write(influencers_data)
|
| 42 |
# Display influencer images as clickable buttons
|
| 43 |
for influencer_id, influencer_info in influencers_data.items():
|
| 44 |
col1, col2 = st.columns([1, 3])
|
| 45 |
+
st.write(influencer_info["image"])
|
| 46 |
with col1:
|
| 47 |
st.image(influencer_info["image"], width=50)
|
| 48 |
|