comment subtify logo
Browse files
app.py
CHANGED
@@ -38,11 +38,11 @@ YOUTUBE = "youtube"
|
|
38 |
TWITCH = "twitch"
|
39 |
ERROR = "error"
|
40 |
|
41 |
-
subtify_logo = Image.open("./assets/subtify_logo-scaled.webp")
|
42 |
-
subtify_logo_width, subtify_logo_height = subtify_logo.size
|
43 |
-
factor = 4
|
44 |
-
new_width = subtify_logo_width // factor
|
45 |
-
new_height = subtify_logo_height // factor
|
46 |
|
47 |
BACKGROUND_COLOR = "#0b0f19"
|
48 |
BUTTON_COLOR = "#47515f"
|
@@ -172,11 +172,11 @@ html_social_media = f'''
|
|
172 |
</div>
|
173 |
'''
|
174 |
|
175 |
-
html_subtify_logo = f"""
|
176 |
-
<div style="display: flex; justify-content: center; align-items: center;">
|
177 |
-
|
178 |
-
</div>
|
179 |
-
"""
|
180 |
|
181 |
html_buy_me_a_coffe = '''
|
182 |
<div style="float: right;">
|
@@ -694,7 +694,7 @@ def subtify():
|
|
694 |
# Layout
|
695 |
gr.HTML(html_social_media)
|
696 |
gr.HTML("<h1 style='text-align: center;'>Subtify</h1>")
|
697 |
-
gr.HTML(html_subtify_logo)
|
698 |
# with gr.Row(variant="panel"):
|
699 |
# url_textbox = gr.Textbox(placeholder="Add video URL here and wait a moment", label="Video URL", elem_id="video_url", scale=1, interactive=True)
|
700 |
# # paste_button = gr.Button(size="sm", icon="icons/paste.svg", value="paste", min_width="10px", scale=0)
|
|
|
38 |
TWITCH = "twitch"
|
39 |
ERROR = "error"
|
40 |
|
41 |
+
# subtify_logo = Image.open("./assets/subtify_logo-scaled.webp")
|
42 |
+
# subtify_logo_width, subtify_logo_height = subtify_logo.size
|
43 |
+
# factor = 4
|
44 |
+
# new_width = subtify_logo_width // factor
|
45 |
+
# new_height = subtify_logo_height // factor
|
46 |
|
47 |
BACKGROUND_COLOR = "#0b0f19"
|
48 |
BUTTON_COLOR = "#47515f"
|
|
|
172 |
</div>
|
173 |
'''
|
174 |
|
175 |
+
# html_subtify_logo = f"""
|
176 |
+
# <div style="display: flex; justify-content: center; align-items: center;">
|
177 |
+
# <img src='assets/subtify_logo-scaled.webp' width={new_width}px height={new_height}px >
|
178 |
+
# </div>
|
179 |
+
# """
|
180 |
|
181 |
html_buy_me_a_coffe = '''
|
182 |
<div style="float: right;">
|
|
|
694 |
# Layout
|
695 |
gr.HTML(html_social_media)
|
696 |
gr.HTML("<h1 style='text-align: center;'>Subtify</h1>")
|
697 |
+
# gr.HTML(html_subtify_logo)
|
698 |
# with gr.Row(variant="panel"):
|
699 |
# url_textbox = gr.Textbox(placeholder="Add video URL here and wait a moment", label="Video URL", elem_id="video_url", scale=1, interactive=True)
|
700 |
# # paste_button = gr.Button(size="sm", icon="icons/paste.svg", value="paste", min_width="10px", scale=0)
|