capradeepgujaran commited on
Commit
f6a3081
1 Parent(s): 07eb181

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -4
app.py CHANGED
@@ -129,13 +129,22 @@ def chat_about_image(message, chat_history):
129
  return "", chat_history + [(message, f"Error: {str(e)}")]
130
 
131
 
132
- # Custom CSS for improved styling
133
  # Custom CSS for improved styling
134
  custom_css = """
135
- .container { max-width: 1000px; margin: auto; padding-top: 1.5rem; }
136
- .header { text-align: center; margin-bottom: 2rem; }
137
  .header h1 { color: #2c3e50; font-size: 2.5rem; }
138
- .subheader { color: #34495e; font-size: 1.2rem; margin-bottom: 2rem; text-align: center; }
 
 
 
 
 
 
 
 
 
 
139
  .image-container { border: 2px dashed #3498db; border-radius: 10px; padding: 1rem; text-align: center; }
140
  .analyze-button { background-color: #2ecc71 !important; color: white !important; }
141
  .clear-button { background-color: #e74c3c !important; color: white !important; width: 100px !important; }
 
129
  return "", chat_history + [(message, f"Error: {str(e)}")]
130
 
131
 
 
132
  # Custom CSS for improved styling
133
  custom_css = """
134
+ .container { max-width: 1200px; margin: auto; padding-top: 1.5rem; }
135
+ .header { text-align: center; margin-bottom: 1rem; }
136
  .header h1 { color: #2c3e50; font-size: 2.5rem; }
137
+ .subheader {
138
+ color: #34495e;
139
+ font-size: 1rem;
140
+ line-height: 1.2;
141
+ margin-bottom: 1.5rem;
142
+ text-align: center;
143
+ padding: 0 15px;
144
+ white-space: nowrap;
145
+ overflow: hidden;
146
+ text-overflow: ellipsis;
147
+ }
148
  .image-container { border: 2px dashed #3498db; border-radius: 10px; padding: 1rem; text-align: center; }
149
  .analyze-button { background-color: #2ecc71 !important; color: white !important; }
150
  .clear-button { background-color: #e74c3c !important; color: white !important; width: 100px !important; }