gkdivya commited on
Commit
553eb07
·
1 Parent(s): 231d3bb

Update influencer_ui.py

Browse files
Files changed (1) hide show
  1. influencer_ui.py +3 -3
influencer_ui.py CHANGED
@@ -3,12 +3,12 @@ import streamlit as st
3
  influencers_data = {
4
  "influencer1": {
5
  "name": "Influencer One",
6
- "image": "images/inf1.png", # Replace with actual image paths
7
  "details": "Details about Influencer One..."
8
  },
9
  "influencer2": {
10
  "name": "Influencer Two",
11
- "image": "images/inf2.png",
12
  "details": "Details about Influencer Two..."
13
  }
14
  # Add more influencers as needed
@@ -56,7 +56,7 @@ def show_influencer_search_page():
56
  with col1:
57
  if st.button("", key=influencer_id):
58
  # When an image is clicked, show details
59
- st.image(influencer_info["image"], width=100)
60
  with col2:
61
  st.subheader(influencer_info["name"])
62
  st.write(influencer_info["details"])
 
3
  influencers_data = {
4
  "influencer1": {
5
  "name": "Influencer One",
6
+ "image": "./images/inf1.png", # Replace with actual image paths
7
  "details": "Details about Influencer One..."
8
  },
9
  "influencer2": {
10
  "name": "Influencer Two",
11
+ "image": "./images/inf2.png",
12
  "details": "Details about Influencer Two..."
13
  }
14
  # Add more influencers as needed
 
56
  with col1:
57
  if st.button("", key=influencer_id):
58
  # When an image is clicked, show details
59
+ st.image(influencer_info["image"], width=500)
60
  with col2:
61
  st.subheader(influencer_info["name"])
62
  st.write(influencer_info["details"])