Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
179 |
-
|
180 |
-
source_prompt = gr.Text(
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
)
|
188 |
-
target_prompt = gr.Text(
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
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 |
|