Spaces:
Sleeping
Sleeping
JarvisLabs
commited on
Commit
•
44fe01c
1
Parent(s):
e6762d1
Update app.py
Browse filesAdd test saveloc
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"]={
|