Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ with gr.Blocks() as demo:
|
|
62 |
""")
|
63 |
with gr.Column(scale=1, min_width=600):
|
64 |
with gr.Tab("Writing Assist"):
|
65 |
-
result = gr.components.Textbox(lines=7, placeholder=prompts[0])
|
66 |
prompt = gr.components.Textbox(lines=2, label="Prompt", placeholder=examples[0], visible=False)
|
67 |
gr.Examples(examples, label='Examples', inputs=[prompt])
|
68 |
prompt.change(generate, inputs=[prompt], outputs=[result])
|
|
|
62 |
""")
|
63 |
with gr.Column(scale=1, min_width=600):
|
64 |
with gr.Tab("Writing Assist"):
|
65 |
+
result = gr.components.Textbox(lines=7, label="Writing Assist", show_label=True, placeholder=prompts[0])
|
66 |
prompt = gr.components.Textbox(lines=2, label="Prompt", placeholder=examples[0], visible=False)
|
67 |
gr.Examples(examples, label='Examples', inputs=[prompt])
|
68 |
prompt.change(generate, inputs=[prompt], outputs=[result])
|