Silence1412 commited on
Commit
b7391bd
·
1 Parent(s): e339223

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -52,12 +52,15 @@ block = gr.Blocks()
52
  with block:
53
  with gr.Group():
54
  with gr.Box():
55
- txt = gr.Textbox(lines=1, label="Initial Text", placeholder="English Text here")
56
- gpt_btn = gr.Button("Generate prompt").style(
57
- margin=False,
58
- rounded=(False, True, True, False),
59
- )
60
- out = gr.Textbox(lines=4, label="Generated Prompts")
 
 
 
61
 
62
  with gr.Box():
63
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
 
52
  with block:
53
  with gr.Group():
54
  with gr.Box():
55
+ with gr.Row() as row:
56
+ with gr.Column():
57
+ txt = gr.Textbox(lines=1, label="Initial Text", placeholder="English Text here")
58
+ gpt_btn = gr.Button("Generate prompt").style(
59
+ margin=False,
60
+ rounded=(False, True, True, False),
61
+ )
62
+ with gr.Column():
63
+ out = gr.Textbox(lines=4, label="Generated Prompts")
64
 
65
  with gr.Box():
66
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):