ChenyangSi commited on
Commit
b8b3bb8
1 Parent(s): 8506797

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -11
app.py CHANGED
@@ -96,9 +96,8 @@ options = ['SD1.4', 'SD1.5', 'SD2.1']
96
 
97
  with block:
98
  gr.Markdown("SD vs. FreeU.")
99
- with gr.Row():
100
- with gr.Group():
101
- with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
102
  with gr.Column():
103
  text = gr.Textbox(
104
  label="Enter your prompt",
@@ -107,6 +106,18 @@ with block:
107
  placeholder="Enter your prompt",
108
  container=False,
109
  )
 
 
 
 
 
 
 
 
 
 
 
 
110
  btn = gr.Button("Generate image", scale=0)
111
 
112
  with gr.Row():
@@ -116,14 +127,14 @@ with block:
116
 
117
  with gr.Group():
118
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
119
- with gr.Column():
120
- text = gr.Textbox(
121
- label="Enter your prompt",
122
- show_label=False,
123
- max_lines=1,
124
- placeholder="Enter your prompt",
125
- container=False,
126
- )
127
  btn = gr.Button("Generate image", scale=0)
128
 
129
  with gr.Row():
 
96
 
97
  with block:
98
  gr.Markdown("SD vs. FreeU.")
99
+ with gr.Group():
100
+ with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
 
101
  with gr.Column():
102
  text = gr.Textbox(
103
  label="Enter your prompt",
 
106
  placeholder="Enter your prompt",
107
  container=False,
108
  )
109
+
110
+ with gr.Row():
111
+ with gr.Group():
112
+ # with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
113
+ # with gr.Column():
114
+ # text = gr.Textbox(
115
+ # label="Enter your prompt",
116
+ # show_label=False,
117
+ # max_lines=1,
118
+ # placeholder="Enter your prompt",
119
+ # container=False,
120
+ # )
121
  btn = gr.Button("Generate image", scale=0)
122
 
123
  with gr.Row():
 
127
 
128
  with gr.Group():
129
  with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
130
+ # with gr.Column():
131
+ # text = gr.Textbox(
132
+ # label="Enter your prompt",
133
+ # show_label=False,
134
+ # max_lines=1,
135
+ # placeholder="Enter your prompt",
136
+ # container=False,
137
+ # )
138
  btn = gr.Button("Generate image", scale=0)
139
 
140
  with gr.Row():