nigeljw commited on
Commit
27ee5cf
1 Parent(s): 4be1d13

Modified default prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ with gradio.Blocks(live=True) as ux:
130
  #staticLatents = gradio.Checkbox(label="Static Latents", info=staticLatentsDesc, value=True, interactive=True)
131
  inputImage = gradio.Image(label="Input Feed", source="webcam", shape=[512,512], streaming=True)
132
  mask = gradio.Image(label="Mask", type="pil", value=defaultMask)
133
- prompt = gradio.Textbox(label="Prompt", info=promptDesc, placeholder=examplePrompt1, value="A person", lines=3)
134
  negativePrompt = gradio.Textbox(label="Negative Prompt", info=negPromptDesc, placeholder="Facial hair", value="Text, words", lines=3)
135
  guidanceScale = gradio.Slider(label="Guidance Scale", info="A higher value causes the generation to be more relative to the text prompt conditioning.", maximum=100, minimum=1, value=7.5, step= 0.1)
136
  numInferenceSteps = gradio.Slider(label="Number of Inference Steps", info=numInfStepsDesc, maximum=100, minimum=1, value=20, step=1)
 
130
  #staticLatents = gradio.Checkbox(label="Static Latents", info=staticLatentsDesc, value=True, interactive=True)
131
  inputImage = gradio.Image(label="Input Feed", source="webcam", shape=[512,512], streaming=True)
132
  mask = gradio.Image(label="Mask", type="pil", value=defaultMask)
133
+ prompt = gradio.Textbox(label="Prompt", info=promptDesc, placeholder=examplePrompt1, value=examplePrompt1, lines=3)
134
  negativePrompt = gradio.Textbox(label="Negative Prompt", info=negPromptDesc, placeholder="Facial hair", value="Text, words", lines=3)
135
  guidanceScale = gradio.Slider(label="Guidance Scale", info="A higher value causes the generation to be more relative to the text prompt conditioning.", maximum=100, minimum=1, value=7.5, step= 0.1)
136
  numInferenceSteps = gradio.Slider(label="Number of Inference Steps", info=numInfStepsDesc, maximum=100, minimum=1, value=20, step=1)