DigiP-AI commited on
Commit
a9040cf
·
verified ·
1 Parent(s): c7e9533

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -1
app.py CHANGED
@@ -187,7 +187,23 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
187
  with gr.Row():
188
  image_button = gr.Button("Run", variant='primary')
189
  image_button.click(flip_image, inputs=image_input, outputs=image_output, concurrency_limit=2)
190
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  app.queue(default_concurrency_limit=200, max_size=200) # <-- Sets up a queue with default parameters
192
 
193
  if __name__ == "__main__":
 
187
  with gr.Row():
188
  image_button = gr.Button("Run", variant='primary')
189
  image_button.click(flip_image, inputs=image_input, outputs=image_output, concurrency_limit=2)
190
+
191
+ with gr.Tab("Flip Image"):
192
+ with gr.Row():
193
+ gr.Markdown(
194
+ """
195
+ <div style="max-width: 650px; margin: 2rem auto; padding: 1rem; border-radius: 10px; background-color: #f0f0f0;">
196
+ <h2 style="font-size: 1.5rem; margin-bottom: 1rem;">How to Use</h2>
197
+ <ol style="padding-left: 1.5rem;">
198
+ <li>Enter a detailed description of the image you want to create.</li>
199
+ <li>Adjust advanced settings if desired (tap to expand).</li>
200
+ <li>Tap "Generate Image" and wait for your creation!</li>
201
+ </ol>
202
+ <p style="margin-top: 1rem; font-style: italic;">Tip: Be specific in your description for best results!</p>
203
+ </div>
204
+ """
205
+ )
206
+
207
  app.queue(default_concurrency_limit=200, max_size=200) # <-- Sets up a queue with default parameters
208
 
209
  if __name__ == "__main__":