Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -60,19 +60,22 @@ def get_samples():
|
|
60 |
for sample in sample_list
|
61 |
]
|
62 |
|
63 |
-
header = """
|
64 |
-
# ByteMorph
|
65 |
-
|
66 |
-
<div style="text-align: center; display: flex; justify-content: left; gap: 5px;">
|
67 |
-
<a href=""><img src="https://img.shields.io/badge/ariXv-Paper-A42C25.svg" alt="arXiv"></a>
|
68 |
-
<a href="https://huggingface.co/datasets/Boese0601/ByteMorph-Bench"><img src="https://img.shields.io/badge/🤗-Model-ffbd45.svg" alt="HuggingFace"></a>
|
69 |
-
<a href="https://github.com/Boese0601/ByteMorph"><img src="https://img.shields.io/badge/GitHub-Code-blue.svg?logo=github&" alt="GitHub"></a>
|
70 |
-
</div>
|
71 |
-
"""
|
72 |
|
73 |
def create_app():
|
74 |
with gr.Blocks() as app:
|
75 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
with gr.Row(equal_height=False):
|
77 |
with gr.Column(variant="panel", elem_classes="inputPanel"):
|
78 |
original_image = gr.Image(
|
|
|
60 |
for sample in sample_list
|
61 |
]
|
62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
def create_app():
|
65 |
with gr.Blocks() as app:
|
66 |
+
gr.HTML(
|
67 |
+
"""
|
68 |
+
<div style="text-align: center;">
|
69 |
+
<h2>ByteMorpher</h2>
|
70 |
+
<a href="https://boese0601.github.io/bytemorph/" target="_blank"><img src="https://img.shields.io/badge/Project-Website-blue" style="display:inline-block;"></a>
|
71 |
+
<a href="https://github.com/Boese0601/ByteMorph" target="_blank"><img src="https://img.shields.io/github/stars/Boese0601/ByteMorph?label=GitHub%20%E2%98%85&logo=github&color=green" style="display:inline-block;"></a>
|
72 |
+
<a href="https://huggingface.co/datasets/Boese0601/ByteMorph-6M-Demo" target="_blank"><img src="https://img.shields.io/badge/🤗%20Hugging%20Face-Dataset_Demo-yellow" style="display:inline-block;"></a>
|
73 |
+
<a href="https://huggingface.co/datasets/Boese0601/ByteMorph-Bench" target="_blank"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20HuggingFace%20-Benchmark-yellow" style="display:inline-block;"></a>
|
74 |
+
<a href="https://huggingface.co/datasets/Boese0601/ByteMorpher" target="_blank"><img src="https://img.shields.io/badge/🤗%20Hugging%20Face%20-Model-green" style="display:inline-block;"></a>
|
75 |
+
</div>
|
76 |
+
"""
|
77 |
+
)
|
78 |
+
# gr.Markdown(header, elem_id="header")
|
79 |
with gr.Row(equal_height=False):
|
80 |
with gr.Column(variant="panel", elem_classes="inputPanel"):
|
81 |
original_image = gr.Image(
|