maria355 commited on
Commit
8c51c30
·
verified ·
1 Parent(s): 0f64721

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -24
app.py CHANGED
@@ -101,30 +101,6 @@ def main():
101
  <p>Upload an image and get AI-generated captions instantly!</p>
102
  </div>
103
  """, unsafe_allow_html=True)
104
-
105
- # Sidebar
106
- with st.sidebar:
107
- st.header("🔧 Settings")
108
- st.markdown("### Model Information")
109
- st.info("Using **BLIP-2** (Salesforce/blip2-opt-2.7b)")
110
-
111
- # Custom prompt option
112
- custom_prompt = st.text_input(
113
- "Custom Prompt (Optional):",
114
- placeholder="e.g., 'Question: What is in this image? Answer:'"
115
- )
116
-
117
- st.markdown("### About")
118
- st.markdown("""
119
- This app uses the **BLIP-2** model to generate natural language descriptions of images.
120
-
121
- **Features:**
122
- - 🖼️ Upload any image format
123
- - 🤖 AI-powered captioning
124
- - ⚡ Fast inference
125
- - 🎯 Optional custom prompts
126
- """)
127
-
128
  # Main content
129
  col1, col2 = st.columns([1, 1])
130
 
 
101
  <p>Upload an image and get AI-generated captions instantly!</p>
102
  </div>
103
  """, unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  # Main content
105
  col1, col2 = st.columns([1, 1])
106