add subtify logo
Browse files
app.py
CHANGED
|
@@ -44,9 +44,6 @@ factor = 4
|
|
| 44 |
new_width = subtify_logo_width // factor
|
| 45 |
new_height = subtify_logo_height // factor
|
| 46 |
|
| 47 |
-
# print ls
|
| 48 |
-
print(os.listdir("./assets"))
|
| 49 |
-
|
| 50 |
BACKGROUND_COLOR = "#0b0f19"
|
| 51 |
BUTTON_COLOR = "#47515f"
|
| 52 |
SVG_COLOR = "#f3f4f6"
|
|
@@ -175,11 +172,11 @@ html_social_media = f'''
|
|
| 175 |
</div>
|
| 176 |
'''
|
| 177 |
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
|
| 184 |
html_buy_me_a_coffe = '''
|
| 185 |
<div style="float: right;">
|
|
@@ -697,7 +694,7 @@ def subtify():
|
|
| 697 |
# Layout
|
| 698 |
gr.HTML(html_social_media)
|
| 699 |
gr.HTML("<h1 style='text-align: center;'>Subtify</h1>")
|
| 700 |
-
|
| 701 |
# with gr.Row(variant="panel"):
|
| 702 |
# url_textbox = gr.Textbox(placeholder="Add video URL here and wait a moment", label="Video URL", elem_id="video_url", scale=1, interactive=True)
|
| 703 |
# # paste_button = gr.Button(size="sm", icon="icons/paste.svg", value="paste", min_width="10px", scale=0)
|
|
|
|
| 44 |
new_width = subtify_logo_width // factor
|
| 45 |
new_height = subtify_logo_height // factor
|
| 46 |
|
|
|
|
|
|
|
|
|
|
| 47 |
BACKGROUND_COLOR = "#0b0f19"
|
| 48 |
BUTTON_COLOR = "#47515f"
|
| 49 |
SVG_COLOR = "#f3f4f6"
|
|
|
|
| 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)
|