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