Upload app.py
Browse files
app.py
CHANGED
@@ -247,18 +247,7 @@ with gr.Blocks(title="Images Prompts Generator", css=css) as demo:
|
|
247 |
hip_measurements= persist(gr.Dropdown(woman_description["hip_measurements"],label="hip_measurements",value ="None" ,allow_custom_value=True,show_label=True))
|
248 |
actionT= persist(gr.Dropdown(woman_description["action"][:50],label="action",value ="None" ,allow_custom_value=True,show_label=True))
|
249 |
additionalT= persist(gr.Dropdown(woman_description["additional"],label="additional",value ="None" ,allow_custom_value=True,show_label=True))
|
250 |
-
|
251 |
-
runTask.click(fn=generateDir,
|
252 |
-
inputs=[textbox,text_neg,
|
253 |
-
img,
|
254 |
-
istr,
|
255 |
-
iwidth,iheight,
|
256 |
-
isteps,
|
257 |
-
igs,
|
258 |
-
ign,
|
259 |
-
iseed,
|
260 |
-
ioutputDir,isoureceDir,iStartIndex
|
261 |
-
] )
|
262 |
rptsP.click(fn=previousPrompt,outputs=textbox)
|
263 |
genWoman.click(fn=womanPromptUI,inputs=[ character, eye_color , hair_style , hair_color , dress_styles , skinT , bodyT , breast_size , hip_measurements , actionT , additionalT,dress_upper],outputs=textbox)
|
264 |
rptsRandom.click(fn=randPromptUI,outputs=textbox)
|
|
|
247 |
hip_measurements= persist(gr.Dropdown(woman_description["hip_measurements"],label="hip_measurements",value ="None" ,allow_custom_value=True,show_label=True))
|
248 |
actionT= persist(gr.Dropdown(woman_description["action"][:50],label="action",value ="None" ,allow_custom_value=True,show_label=True))
|
249 |
additionalT= persist(gr.Dropdown(woman_description["additional"],label="additional",value ="None" ,allow_custom_value=True,show_label=True))
|
250 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
rptsP.click(fn=previousPrompt,outputs=textbox)
|
252 |
genWoman.click(fn=womanPromptUI,inputs=[ character, eye_color , hair_style , hair_color , dress_styles , skinT , bodyT , breast_size , hip_measurements , actionT , additionalT,dress_upper],outputs=textbox)
|
253 |
rptsRandom.click(fn=randPromptUI,outputs=textbox)
|