xingpng commited on
Commit
6cf5e77
1 Parent(s): 49c883f
Files changed (1) hide show
  1. app.py +7 -4
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
- prompt_type = gr.Radio(["caption of Blip", "user input"],
322
- value="caption of Blip",
323
- label="prompt type")
 
 
 
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")