Spaces:
Running
Running
tripleS-Dev
commited on
Commit
·
ab5cb0f
1
Parent(s):
cd04538
update V1.3.8
Browse files-Add meta V1 front
-Add QR caption
-Add printing dev
-Add cosmo qr logo
- generate.py +3 -0
- main.py +1 -1
- resources/qr_icon_cosmo.png +0 -0
generate.py
CHANGED
@@ -379,6 +379,9 @@ def back(obj_color, obj_color_picker, ai_num, txt_color, txt_color_picker, group
|
|
379 |
case "tripleS":
|
380 |
img_qr_icon = edimg.qr_icon("resource/qr_icon_triples.png")
|
381 |
img_qr.paste(img_qr_icon, (126, 126), img_qr_icon)
|
|
|
|
|
|
|
382 |
case 'None':
|
383 |
pass
|
384 |
case _:
|
|
|
379 |
case "tripleS":
|
380 |
img_qr_icon = edimg.qr_icon("resource/qr_icon_triples.png")
|
381 |
img_qr.paste(img_qr_icon, (126, 126), img_qr_icon)
|
382 |
+
case 'Cosmo':
|
383 |
+
img_qr_icon = edimg.qr_icon("resources/qr_icon_cosmo.png")
|
384 |
+
img_qr.paste(img_qr_icon, (126, 126), img_qr_icon)
|
385 |
case 'None':
|
386 |
pass
|
387 |
case _:
|
main.py
CHANGED
@@ -254,7 +254,7 @@ with gr.Blocks(theme=theme, js=animation, head=ga_script, analytics_enabled=True
|
|
254 |
qr_url_dropdown = gr.Dropdown(["tripleS website", "tripleS youtube", "tripleS 𝕏", "tripleS discord"], label="QR url", info="Can write any url", allow_custom_value=True, value='https://objektify.xyz')
|
255 |
|
256 |
with gr.Row():
|
257 |
-
qr_Logo_radio = gr.Radio(["tripleS", "None"], label="QR Logo", value="None", interactive=True)
|
258 |
qr_caption = gr.Textbox(label='caption')
|
259 |
|
260 |
|
|
|
254 |
qr_url_dropdown = gr.Dropdown(["tripleS website", "tripleS youtube", "tripleS 𝕏", "tripleS discord"], label="QR url", info="Can write any url", allow_custom_value=True, value='https://objektify.xyz')
|
255 |
|
256 |
with gr.Row():
|
257 |
+
qr_Logo_radio = gr.Radio(["tripleS", 'Cosmo', "None"], label="QR Logo", value="None", interactive=True)
|
258 |
qr_caption = gr.Textbox(label='caption')
|
259 |
|
260 |
|
resources/qr_icon_cosmo.png
ADDED