Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def combin_image(input_images, back_color, margin_top, margin_between, margin_si
|
|
12 |
|
13 |
# フォルダ・ファイル名設定
|
14 |
work_fol = dt.strftime("%Y%m%d%H%M%S")
|
15 |
-
combin_file = dt.strftime("%H%M
|
16 |
|
17 |
# フォルダ作成
|
18 |
os.makedirs(work_fol, exist_ok=True)
|
@@ -82,7 +82,7 @@ def get_rgb(color):
|
|
82 |
|
83 |
with gr.Blocks(title="Fliptoon Image Generator", theme=gr.themes.Citrus()) as demo:
|
84 |
|
85 |
-
title = "<center><
|
86 |
message = "<center><h3>"
|
87 |
message += "・画像の横幅のサイズは揃えて下さい。<br>"
|
88 |
message += "・画像はファイル名の順番に結合します。ファイル名は01_XXXXXX、02_XXXXXX…などにして下さい。<br>"
|
|
|
12 |
|
13 |
# フォルダ・ファイル名設定
|
14 |
work_fol = dt.strftime("%Y%m%d%H%M%S")
|
15 |
+
combin_file = dt.strftime("%Y%m%d%H%M") + ".jpg"
|
16 |
|
17 |
# フォルダ作成
|
18 |
os.makedirs(work_fol, exist_ok=True)
|
|
|
82 |
|
83 |
with gr.Blocks(title="Fliptoon Image Generator", theme=gr.themes.Citrus()) as demo:
|
84 |
|
85 |
+
title = "<center><h2>Fliptoon用画像作成アプリ</h2></center>"
|
86 |
message = "<center><h3>"
|
87 |
message += "・画像の横幅のサイズは揃えて下さい。<br>"
|
88 |
message += "・画像はファイル名の順番に結合します。ファイル名は01_XXXXXX、02_XXXXXX…などにして下さい。<br>"
|