Spaces:
Running
Running
Upload 2 files
Browse files- app.py +1 -1
- header.html +1 -1
app.py
CHANGED
|
@@ -303,7 +303,7 @@ if __name__ == "__main__":
|
|
| 303 |
# title = """<h1 align="center">CDM: A Reliable Metric for Fair and Accurate Formula Recognition Evaluation</h1>"""
|
| 304 |
|
| 305 |
with gr.Blocks() as demo:
|
| 306 |
-
gr.
|
| 307 |
|
| 308 |
# gr.Button(value="Quick Try: type latex code of gt and pred, get metrics and visualization.", interactive=False, variant="primary")
|
| 309 |
|
|
|
|
| 303 |
# title = """<h1 align="center">CDM: A Reliable Metric for Fair and Accurate Formula Recognition Evaluation</h1>"""
|
| 304 |
|
| 305 |
with gr.Blocks() as demo:
|
| 306 |
+
gr.HTML(header)
|
| 307 |
|
| 308 |
# gr.Button(value="Quick Try: type latex code of gt and pred, get metrics and visualization.", interactive=False, variant="primary")
|
| 309 |
|
header.html
CHANGED
|
@@ -82,7 +82,7 @@
|
|
| 82 |
<div class="publication-links">
|
| 83 |
<!-- Code Link. -->
|
| 84 |
<span class="link-block">
|
| 85 |
-
<a href="https://github.com/opendatalab/UniMERNet/tree/
|
| 86 |
<span class="icon" style="margin-right: 4px">
|
| 87 |
<i class="fab fa-github" style="color: white; margin-right: 4px"></i>
|
| 88 |
</span>
|
|
|
|
| 82 |
<div class="publication-links">
|
| 83 |
<!-- Code Link. -->
|
| 84 |
<span class="link-block">
|
| 85 |
+
<a href="https://github.com/opendatalab/UniMERNet/tree/main/cdm" class="external-link button is-normal is-rounded is-dark" style="text-decoration: none; cursor: pointer">
|
| 86 |
<span class="icon" style="margin-right: 4px">
|
| 87 |
<i class="fab fa-github" style="color: white; margin-right: 4px"></i>
|
| 88 |
</span>
|