Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ with gr.Blocks() as demo:
|
|
50 |
"""
|
51 |
<h1 style="text-align: center;">Legal Document Drafting</h1>
|
52 |
""")
|
53 |
-
with gr.Column():
|
54 |
with gr.Tab("Writing Assist"):
|
55 |
result = gr.components.Textbox(lines=7, label="Writing Assist", placeholder=prompts[0])
|
56 |
prompt = gr.components.Textbox(lines=2, label="Prompt", placeholder=examples[0], visible=False)
|
@@ -63,7 +63,7 @@ with gr.Blocks() as demo:
|
|
63 |
gr.Examples(examples, label='Examples', inputs=[result2])
|
64 |
rnd_btn = gr.Button("Random Drafting")
|
65 |
rnd_btn.click(rnd_generate, inputs=[result2], outputs=[result2])
|
66 |
-
with gr.Column():
|
67 |
gr.Markdown("Legal Document drafting demo")
|
68 |
|
69 |
if __name__ == "__main__":
|
|
|
50 |
"""
|
51 |
<h1 style="text-align: center;">Legal Document Drafting</h1>
|
52 |
""")
|
53 |
+
with gr.Column(scale=1, min_width=600):
|
54 |
with gr.Tab("Writing Assist"):
|
55 |
result = gr.components.Textbox(lines=7, label="Writing Assist", placeholder=prompts[0])
|
56 |
prompt = gr.components.Textbox(lines=2, label="Prompt", placeholder=examples[0], visible=False)
|
|
|
63 |
gr.Examples(examples, label='Examples', inputs=[result2])
|
64 |
rnd_btn = gr.Button("Random Drafting")
|
65 |
rnd_btn.click(rnd_generate, inputs=[result2], outputs=[result2])
|
66 |
+
with gr.Column(scale=2, min_width=600):
|
67 |
gr.Markdown("Legal Document drafting demo")
|
68 |
|
69 |
if __name__ == "__main__":
|