PeterPinetree commited on
Commit
7537709
·
verified ·
1 Parent(s): e24122a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -250,9 +250,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
250
  gr.Markdown("## Story Starters")
251
 
252
  # Create four placeholder buttons for story starters
253
- starter_btn1 = gr.Button("Starter 1")
254
- starter_btn2 = gr.Button("Starter 2")
255
- starter_btn3 = gr.Button("Starter 3")
256
  starter_buttons = [starter_btn1, starter_btn2, starter_btn3]
257
 
258
  # Simplified update function
@@ -322,7 +322,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
322
  with gr.Row():
323
  save_btn = gr.Button("Download My Story", variant="secondary")
324
 
325
- with gr.Column(scale=1, min_width=150): # Adjust width to make it smaller
326
  story_output = gr.File(
327
  label="Download your story",
328
  file_count="single",
 
250
  gr.Markdown("## Story Starters")
251
 
252
  # Create four placeholder buttons for story starters
253
+ starter_btn1 = gr.Button("Starter 1", scale=1, min_width=250, text_align="center")
254
+ starter_btn2 = gr.Button("Starter 2", scale=1, min_width=250, text_align="center")
255
+ starter_btn3 = gr.Button("Starter 3", scale=1, min_width=250, text_align="center")
256
  starter_buttons = [starter_btn1, starter_btn2, starter_btn3]
257
 
258
  # Simplified update function
 
322
  with gr.Row():
323
  save_btn = gr.Button("Download My Story", variant="secondary")
324
 
325
+ with gr.Column(scale=0, min_width=150): # Adjust width to make it smaller
326
  story_output = gr.File(
327
  label="Download your story",
328
  file_count="single",