JarvisLabs commited on
Commit
44fe01c
1 Parent(s): e6762d1

Update app.py

Browse files

Add test saveloc

Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import gradio as gr
2
  from utils import DeepL,Gen_image,send_email,base_model,example_data
3
-
 
 
4
 
5
  model_dic={}
6
  model_dic["None"]={
 
1
  import gradio as gr
2
  from utils import DeepL,Gen_image,send_email,base_model,example_data
3
+ from datetime import date
4
+ save_loc="Gens/"+date.today().__str__()+"/"
5
+ os.makedirs(save_loc,exist_ok=True)
6
 
7
  model_dic={}
8
  model_dic["None"]={