Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,6 @@ that punch way above their weight. No bloat. No nonsense.
|
|
| 9 |
*Just models that work — on your laptop, your phone, or your API.*
|
| 10 |
"""
|
| 11 |
|
| 12 |
-
|
| 13 |
BUTTON_STYLE = """
|
| 14 |
<style>
|
| 15 |
.custom-button {
|
|
@@ -54,17 +53,14 @@ def create_buttons():
|
|
| 54 |
with gr.Blocks(css="style.css", theme=gr.themes.Soft()) as app:
|
| 55 |
with gr.Column(elem_id="card"):
|
| 56 |
gr.Image(
|
| 57 |
-
value=LOGO_PATH,
|
| 58 |
elem_id="logo-img",
|
| 59 |
-
show_label=False,
|
| 60 |
container=False,
|
| 61 |
interactive=False
|
| 62 |
)
|
| 63 |
gr.Markdown(f"## {COMMUNITY_NAME}")
|
| 64 |
gr.Markdown(DESCRIPTION, elem_classes="desc-text")
|
| 65 |
-
|
| 66 |
-
|
| 67 |
create_buttons()
|
| 68 |
|
| 69 |
-
|
| 70 |
app.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
|
| 9 |
*Just models that work — on your laptop, your phone, or your API.*
|
| 10 |
"""
|
| 11 |
|
|
|
|
| 12 |
BUTTON_STYLE = """
|
| 13 |
<style>
|
| 14 |
.custom-button {
|
|
|
|
| 53 |
with gr.Blocks(css="style.css", theme=gr.themes.Soft()) as app:
|
| 54 |
with gr.Column(elem_id="card"):
|
| 55 |
gr.Image(
|
| 56 |
+
value=LOGO_PATH,
|
| 57 |
elem_id="logo-img",
|
| 58 |
+
show_label=False,
|
| 59 |
container=False,
|
| 60 |
interactive=False
|
| 61 |
)
|
| 62 |
gr.Markdown(f"## {COMMUNITY_NAME}")
|
| 63 |
gr.Markdown(DESCRIPTION, elem_classes="desc-text")
|
|
|
|
|
|
|
| 64 |
create_buttons()
|
| 65 |
|
|
|
|
| 66 |
app.launch(server_name="0.0.0.0", server_port=7860)
|