AparnaVelvet commited on
Commit
8b064c6
·
verified ·
1 Parent(s): 23d24f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -13
app.py CHANGED
@@ -191,24 +191,28 @@ with gr.Blocks(theme=gr.themes.Base(), css=custom_css, title="Aparna's High-Spee
191
  with gr.Column(visible=False, elem_classes="glass-panel") as batch_view:
192
  with gr.Row():
193
  with gr.Column(scale=1):
194
- # The detailed instructions are safely indented inside this column
195
- gr.Markdown(
196
- """
197
- ### 📁 DATA INGESTION PROTOCOL
198
- **STEP 1:** Open your phone's Notes app or any text editor.
199
- **STEP 2:** Type your prompts. You must wrap **every single prompt** in asterisks (`*`).
200
- **STEP 3:** *Example:* `*A cyberpunk city* *A glowing dragon* *A neon forest*`
201
- **STEP 4:** Save the file as a `.txt` file and upload it below.
202
-
203
- ⚠️ **SYSTEM LIMIT:** The GPU processes **10 images at a time** to prevent crashing.
204
- After the first 10, click the **"▶️ CONTINUE NEXT 10"** button. At the very end, you will get a **FULL ARCHIVE ZIP** with everything inside!
205
- """
206
- )
 
 
207
  txt_input = gr.File(label="UPLOAD TXT FILE", file_types=[".txt"])
208
  randomize_cb = gr.Checkbox(label="RANDOMIZE SEED", value=True)
 
209
  with gr.Row():
210
  run_btn = gr.Button("⚡ START BATCH", variant="primary")
211
  continue_btn = gr.Button("▶️ CONTINUE NEXT 10", variant="primary", visible=False)
 
212
  with gr.Column(scale=1):
213
  status_text = gr.Textbox(label="SYSTEM LOG", interactive=False, lines=3)
214
  with gr.Row():
 
191
  with gr.Column(visible=False, elem_classes="glass-panel") as batch_view:
192
  with gr.Row():
193
  with gr.Column(scale=1):
194
+
195
+ # Instructions are now safe inside a collapsible Accordion!
196
+ with gr.Accordion("📁 DATA INGESTION PROTOCOL (Click to expand)", open=False):
197
+ gr.Markdown(
198
+ """
199
+ **STEP 1:** Open your phone's Notes app or any text editor.
200
+ **STEP 2:** Type your prompts. You must wrap **every single prompt** in asterisks (`*`).
201
+ **Example:** `*A cyberpunk city* *A glowing dragon* *A neon forest*`
202
+ **STEP 3:** Save the file as a `.txt` file and upload it below.
203
+
204
+ ⚠️ **SYSTEM LIMIT:** The GPU processes **10 images at a time** to prevent crashing.
205
+ After the first 10, click the **"▶️ CONTINUE NEXT 10"** button and it will start generating the next 10 if your txt has more than 10 images. At the very end, you will get a **FULL ARCHIVE ZIP** with everything inside it in order!
206
+ """
207
+ )
208
+
209
  txt_input = gr.File(label="UPLOAD TXT FILE", file_types=[".txt"])
210
  randomize_cb = gr.Checkbox(label="RANDOMIZE SEED", value=True)
211
+
212
  with gr.Row():
213
  run_btn = gr.Button("⚡ START BATCH", variant="primary")
214
  continue_btn = gr.Button("▶️ CONTINUE NEXT 10", variant="primary", visible=False)
215
+
216
  with gr.Column(scale=1):
217
  status_text = gr.Textbox(label="SYSTEM LOG", interactive=False, lines=3)
218
  with gr.Row():