cringo commited on
Commit
cc014bb
·
verified ·
1 Parent(s): 10c87d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -279,11 +279,13 @@ with gr.Blocks(title="📚 Bilingual Book Builder") as demo:
279
  source_lang = gr.Textbox(label="Source language, e.g. en, ru, de", placeholder="Auto‑detect")
280
  target_lang = gr.Textbox(label="Target language, e.g. en, ru, de", placeholder="Auto‑detect")
281
  with gr.Column():
282
- process_btn = gr.Button("🚀 Build Bilingual EPUB", variant="primary")
283
- cancel_btn = gr.Button("❌ Cancel", variant="stop", visible=False)
284
- refresh_btn = gr.Button("🔄 Check Status")
285
- status_msg = gr.Markdown("")
286
- output_file = gr.File(label="Download Bilingual EPUB", interactive=False, visible=False)
 
 
287
 
288
  process_btn.click(
289
  fn=submit_job,
 
279
  source_lang = gr.Textbox(label="Source language, e.g. en, ru, de", placeholder="Auto‑detect")
280
  target_lang = gr.Textbox(label="Target language, e.g. en, ru, de", placeholder="Auto‑detect")
281
  with gr.Column():
282
+ with gr.Row():
283
+ process_btn = gr.Button("🚀 Build Bilingual EPUB", variant="primary")
284
+ cancel_btn = gr.Button("❌ Cancel", variant="stop", visible=False)
285
+ refresh_btn = gr.Button("🔄 Check Status")
286
+ status_msg = gr.Markdown("")
287
+ with gr.Row():
288
+ output_file = gr.File(label="Download Bilingual EPUB", interactive=False, visible=False)
289
 
290
  process_btn.click(
291
  fn=submit_job,