sayakpaul HF staff commited on
Commit
e06a5f3
1 Parent(s): bb08cd6

add: elements.

Browse files
Files changed (1) hide show
  1. app.py +12 -2
app.py CHANGED
@@ -63,9 +63,19 @@ with block:
63
  )
64
  with gr.Group():
65
  with gr.Box():
66
- with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
67
  with gr.Column():
68
- gr.Text(max_lines=1, placeholder="a painting of a dog")
 
 
 
 
 
 
 
 
 
 
69
  gr.HTML(
70
  """
71
  <div class="acknowledgments">
 
63
  )
64
  with gr.Group():
65
  with gr.Box():
66
+ with gr.Row(elem_id="prompt-container").style(equal_height=True):
67
  with gr.Column():
68
+ text = gr.Textbox(
69
+ label="Enter your prompt",
70
+ show_label=False,
71
+ max_lines=1,
72
+ placeholder="Enter your prompt",
73
+ elem_id="prompt-text-input",
74
+ ).style(
75
+ border=(True, False, True, True),
76
+ rounded=(True, False, False, True),
77
+ container=False,
78
+ )
79
  gr.HTML(
80
  """
81
  <div class="acknowledgments">