Commit
·
d32df58
1
Parent(s):
c10b04b
feat: Try to resize picture
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ _BIBTEX = """@article{DallaTorre2023TheNT,
|
|
| 42 |
url={https://api.semanticscholar.org/CorpusID:255943445}
|
| 43 |
}
|
| 44 |
""" # noqa
|
| 45 |
-
_LAST_UPDATED = "
|
| 46 |
|
| 47 |
banner_url = "./assets/logo.png"
|
| 48 |
_BANNER = f'<div style="display: flex; justify-content: space-around;"><img src="{banner_url}" alt="Banner" style="width: 40vw; min-width: 300px; max-width: 600px;"> </div>' # noqa
|
|
@@ -126,7 +126,7 @@ def get_bar_plot(
|
|
| 126 |
|
| 127 |
with gr.Blocks() as demo:
|
| 128 |
with gr.Row():
|
| 129 |
-
gr.Image(banner_url, height=160, scale=1)
|
| 130 |
gr.Markdown(_INTRODUCTION_TEXT, elem_classes="markdown-text", scale=5)
|
| 131 |
# gr.Textbox(_INTRODUCTION_TEXT, scale=5)
|
| 132 |
|
|
|
|
| 42 |
url={https://api.semanticscholar.org/CorpusID:255943445}
|
| 43 |
}
|
| 44 |
""" # noqa
|
| 45 |
+
_LAST_UPDATED = "Sept 15, 2023"
|
| 46 |
|
| 47 |
banner_url = "./assets/logo.png"
|
| 48 |
_BANNER = f'<div style="display: flex; justify-content: space-around;"><img src="{banner_url}" alt="Banner" style="width: 40vw; min-width: 300px; max-width: 600px;"> </div>' # noqa
|
|
|
|
| 126 |
|
| 127 |
with gr.Blocks() as demo:
|
| 128 |
with gr.Row():
|
| 129 |
+
gr.Image(banner_url, height=160, width=160, scale=1)
|
| 130 |
gr.Markdown(_INTRODUCTION_TEXT, elem_classes="markdown-text", scale=5)
|
| 131 |
# gr.Textbox(_INTRODUCTION_TEXT, scale=5)
|
| 132 |
|