jasim0021 commited on
Commit
e9b0756
·
verified ·
1 Parent(s): c3c5f00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -99,7 +99,7 @@ def process_image_and_prompt(composite_pil, prompt, gemini_api_key):
99
  # Build a Blocks-based interface with a custom HTML header and CSS
100
  with gr.Blocks(css_paths="style.css",) as demo:
101
  # Custom HTML header with proper class for styling
102
- gr.HTML(
103
  """
104
  <div class="header-container" style="display: flex; justify-content: center; align-items: center; padding: 20px; background-color: #f7f7f7; border-bottom: 2px solid #ddd;">
105
  <div style="flex-shrink: 0; margin-right: 20px;">
@@ -116,8 +116,7 @@ with gr.Blocks(css_paths="style.css",) as demo:
116
  </p>
117
  </div>
118
  </div>
119
- """
120
- )
121
 
122
 
123
  # with gr.Accordion("⚠️ API Configuration ⚠️", open=False, elem_classes="config-accordion"):
 
99
  # Build a Blocks-based interface with a custom HTML header and CSS
100
  with gr.Blocks(css_paths="style.css",) as demo:
101
  # Custom HTML header with proper class for styling
102
+ gr.HTML(
103
  """
104
  <div class="header-container" style="display: flex; justify-content: center; align-items: center; padding: 20px; background-color: #f7f7f7; border-bottom: 2px solid #ddd;">
105
  <div style="flex-shrink: 0; margin-right: 20px;">
 
116
  </p>
117
  </div>
118
  </div>
119
+ """)
 
120
 
121
 
122
  # with gr.Accordion("⚠️ API Configuration ⚠️", open=False, elem_classes="config-accordion"):