Spaces:
Runtime error
Runtime error
update: logo
Browse files
app.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
import argparse
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
from common.utils import (
|
| 4 |
matcher_zoo,
|
|
@@ -94,7 +95,7 @@ def run(server_name="0.0.0.0", server_port=7860):
|
|
| 94 |
with gr.Row():
|
| 95 |
with gr.Column(scale=1):
|
| 96 |
gr.Image(
|
| 97 |
-
"assets/logo.webp",
|
| 98 |
elem_id="logo-img",
|
| 99 |
show_label=False,
|
| 100 |
show_share_button=False,
|
|
|
|
| 1 |
import argparse
|
| 2 |
+
from pathlib import Path
|
| 3 |
import gradio as gr
|
| 4 |
from common.utils import (
|
| 5 |
matcher_zoo,
|
|
|
|
| 95 |
with gr.Row():
|
| 96 |
with gr.Column(scale=1):
|
| 97 |
gr.Image(
|
| 98 |
+
str(Path(__file__).parent / "assets/logo.webp"),
|
| 99 |
elem_id="logo-img",
|
| 100 |
show_label=False,
|
| 101 |
show_share_button=False,
|