Spaces:
Running
on
Zero
Running
on
Zero
prompt
Browse files
app.py
CHANGED
@@ -317,10 +317,13 @@ with block:
|
|
317 |
target = gr.Radio(["Image-Driven Style Transfer", "Text-Driven Style Synthesis", "Text Edit-Driven Style Synthesis"],
|
318 |
value="Image-Driven Style Transfer",
|
319 |
label="task")
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
|
|
|
|
|
|
324 |
|
325 |
prompt = gr.Textbox(label="Prompt",
|
326 |
value="there is a small house with a sheep statue on top of it")
|
|
|
317 |
target = gr.Radio(["Image-Driven Style Transfer", "Text-Driven Style Synthesis", "Text Edit-Driven Style Synthesis"],
|
318 |
value="Image-Driven Style Transfer",
|
319 |
label="task")
|
320 |
+
prompt_type = gr.CheckboxGroup(
|
321 |
+
["caption of Blip", "user input"], label="prompt_type", value=["caption of Blip"],
|
322 |
+
info="Choose to enter more detailed prompts yourself or use the blip model to describe content images."
|
323 |
+
)
|
324 |
+
# prompt_type = gr.Radio(["caption of Blip", "user input"],
|
325 |
+
# value="caption of Blip",
|
326 |
+
# label="prompt type")
|
327 |
|
328 |
prompt = gr.Textbox(label="Prompt",
|
329 |
value="there is a small house with a sheep statue on top of it")
|