Karumoon commited on
Commit
0363582
·
1 Parent(s): 49a5657

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -7
app.py CHANGED
@@ -146,18 +146,21 @@ def imgTry(funcAny,prompt,filename):
146
  global m_num,m_btime
147
  m_num=0
148
  m_btime=time.time()
 
149
  def image_mod(image):
150
  global m_num,m_btime
 
151
  print("image_mod "+str(m_num)+str(time.time()-m_btime))
152
  m_btime=time.time()
 
153
  while True:
154
- m_num += 1
155
- ppStr=random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)
156
- output1=imgTry(proc1,"full body girl "+ppStr,'bbba_01_'+str(m_num)+"_"+ppStr+'.jpg')
157
- ppStr=random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)
158
- output1=imgTry(proc1,"full body girl "+ppStr,'bbbb_01_'+str(m_num)+"_"+ppStr+'.jpg')
159
- ppStr=random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)
160
- output1=imgTry(proc1,"full body girl "+ppStr,'bbbc_01_'+str(m_num)+"_"+ppStr+'.jpg')
161
 
162
  """
163
  imgTry(proc2,"full body girl "+ppStr,'save_02_'+str(m_num)+"_"+ppStr+'.jpg')
 
146
  global m_num,m_btime
147
  m_num=0
148
  m_btime=time.time()
149
+
150
  def image_mod(image):
151
  global m_num,m_btime
152
+
153
  print("image_mod "+str(m_num)+str(time.time()-m_btime))
154
  m_btime=time.time()
155
+
156
  while True:
157
+ m_num += 1
158
+ ppStr=random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)
159
+ output1=imgTry(proc1,"full body girl "+ppStr,'bbba_01_'+str(m_num)+"_"+ppStr+'.jpg')
160
+ ppStr=random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)
161
+ output1=imgTry(proc1,"full body girl "+ppStr,'bbbb_01_'+str(m_num)+"_"+ppStr+'.jpg')
162
+ ppStr=random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)+random.choice(m_ddStr)
163
+ output1=imgTry(proc1,"full body girl "+ppStr,'bbbc_01_'+str(m_num)+"_"+ppStr+'.jpg')
164
 
165
  """
166
  imgTry(proc2,"full body girl "+ppStr,'save_02_'+str(m_num)+"_"+ppStr+'.jpg')