zman1x1 commited on
Commit
b158abb
1 Parent(s): d1a5021

resolv outdir

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -161,4 +161,11 @@ def gradio_Interface():
161
 
162
  if __name__ == "__main__":
163
  logger.info("Starting gradio interface..")
 
 
 
 
 
 
 
164
  gradio_Interface()
 
161
 
162
  if __name__ == "__main__":
163
  logger.info("Starting gradio interface..")
164
+
165
+ if not os.path.exists(OUTDIR):
166
+ os.mkdir(OUTDIR)
167
+ os.mkdir(OUTEXTRA)
168
+
169
+ if not os.path.exists(OUTEXTRA):
170
+ os.mkdir(OUTEXTRA)
171
  gradio_Interface()