tharu22 commited on
Commit
80da0c4
Β·
1 Parent(s): ce47b6d
Files changed (1) hide show
  1. app.py +2 -10
app.py CHANGED
@@ -27,7 +27,7 @@ model, processor = load_clip_model()
27
  # βœ… Sidebar for Customization
28
  st.sidebar.title("βš™οΈ Settings")
29
  top_k = st.sidebar.slider("πŸ”’ Number of Similar Images", 1, 20, 10)
30
- theme = st.sidebar.radio("🎨 Theme", ["Light Mode", "Dark Mode"], index=0)
31
 
32
  # βœ… Function to Generate Embedding from Text
33
  def get_text_embedding(text):
@@ -126,14 +126,6 @@ if uploaded_file:
126
  else:
127
  st.warning("⚠️ No similar images found!")
128
 
129
- # βœ… Add Footer
130
- st.markdown(
131
- """
132
- ---
133
- πŸ’‘ **About:** This app uses **CLIP & Pinecone** to perform **Text-to-Image & Image-to-Image Search**.
134
- Built with **Streamlit, Pinecone, and Hugging Face Transformers**.
135
- πŸ“© Contact: [Your Email or GitHub](#)
136
- """
137
- )
138
 
139
 
 
27
  # βœ… Sidebar for Customization
28
  st.sidebar.title("βš™οΈ Settings")
29
  top_k = st.sidebar.slider("πŸ”’ Number of Similar Images", 1, 20, 10)
30
+
31
 
32
  # βœ… Function to Generate Embedding from Text
33
  def get_text_embedding(text):
 
126
  else:
127
  st.warning("⚠️ No similar images found!")
128
 
129
+
 
 
 
 
 
 
 
 
130
 
131