jslin09 commited on
Commit
ff148d3
1 Parent(s): aff0a6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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])