Commit
·
b7391bd
1
Parent(s):
e339223
Update app.py
Browse files
app.py
CHANGED
@@ -52,12 +52,15 @@ block = gr.Blocks()
|
|
52 |
with block:
|
53 |
with gr.Group():
|
54 |
with gr.Box():
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
|
|
|
|
|
|
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):
|