wjs0725 commited on
Commit
2e0ad47
·
verified ·
1 Parent(s): d30934f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -18
app.py CHANGED
@@ -175,24 +175,24 @@ def create_demo(model_name: str, device: str = "cuda:0" if torch.cuda.is_availab
175
 
176
  with gr.Row():
177
  with gr.Column():
178
- # source_prompt = gr.Textbox(label="Source Prompt", value="")
179
- # target_prompt = gr.Textbox(label="Target Prompt", value="")
180
- source_prompt = gr.Text(
181
- label="Source Prompt",
182
- show_label=False,
183
- max_lines=1,
184
- placeholder="Enter your source prompt",
185
- container=False,
186
- value=""
187
- )
188
- target_prompt = gr.Text(
189
- label="Target Prompt",
190
- show_label=False,
191
- max_lines=1,
192
- placeholder="Enter your target prompt",
193
- container=False,
194
- value=""
195
- )
196
  init_image = gr.Image(label="Input Image", visible=True)
197
 
198
 
 
175
 
176
  with gr.Row():
177
  with gr.Column():
178
+ source_prompt = gr.Textbox(label="Source Prompt", value="")
179
+ target_prompt = gr.Textbox(label="Target Prompt", value="")
180
+ # source_prompt = gr.Text(
181
+ # label="Source Prompt",
182
+ # show_label=False,
183
+ # max_lines=1,
184
+ # placeholder="Enter your source prompt",
185
+ # container=False,
186
+ # value=""
187
+ # )
188
+ # target_prompt = gr.Text(
189
+ # label="Target Prompt",
190
+ # show_label=False,
191
+ # max_lines=1,
192
+ # placeholder="Enter your target prompt",
193
+ # container=False,
194
+ # value=""
195
+ # )
196
  init_image = gr.Image(label="Input Image", visible=True)
197
 
198