Karumoon commited on
Commit
7028f7d
·
1 Parent(s): b468cdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -140,8 +140,11 @@ def imgTry(funcAny,prompt,filename):
140
  print("e "+filename)
141
  print("------------")
142
  return False
 
 
143
  m_num=0
144
  def image_mod(image):
 
145
  while True:
146
  m_num += 1
147
  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)
 
140
  print("e "+filename)
141
  print("------------")
142
  return False
143
+
144
+ global m_num
145
  m_num=0
146
  def image_mod(image):
147
+ global m_num
148
  while True:
149
  m_num += 1
150
  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)