mkmenta commited on
Commit
448f264
1 Parent(s): f3f52d2

Fix placeholder and value bug

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -56,7 +56,10 @@ with gr.Blocks() as demo:
56
  gr.Markdown("# 🦄 Try GPT-1 and GPT-2")
57
  with gr.Row():
58
  with gr.Column(scale=4):
59
- inp = gr.Textbox(label="Input text:", placeholder=SAMPLE_INPUT, lines=10,)
 
 
 
60
  out = gr.Textbox(label="Generated text:", lines=25)
61
  with gr.Column(scale=1):
62
  with gr.Row(scale=1):
 
56
  gr.Markdown("# 🦄 Try GPT-1 and GPT-2")
57
  with gr.Row():
58
  with gr.Column(scale=4):
59
+ inp = gr.Textbox(label="Input text:",
60
+ placeholder="Enter some text to get started.",
61
+ value=SAMPLE_INPUT,
62
+ lines=10)
63
  out = gr.Textbox(label="Generated text:", lines=25)
64
  with gr.Column(scale=1):
65
  with gr.Row(scale=1):