Spaces:
Running
on
Zero
Running
on
Zero
app.py
CHANGED
@@ -219,15 +219,13 @@ title = """<div style="text-align: center; max-width: 700px; margin: 0 auto;">
|
|
219 |
<h1 style="font-weight: 900; margin-bottom: 7px; line-height: normal;">
|
220 |
OpenReviewer
|
221 |
</h1>
|
|
|
|
|
222 |
</div>
|
223 |
</div>
|
224 |
"""
|
225 |
-
title_icons = """<div style="text-align: center; display: flex; justify-content: left; gap: 5px;">
|
226 |
-
<a href="https://huggingface.co/maxidl/Llama-OpenReviewer-8B""><img src="https://img.shields.io/badge/🤗-Model-ffbd45.svg" alt="HuggingFace"></a>
|
227 |
-
</div>
|
228 |
-
"""
|
229 |
|
230 |
-
description = """This is an online demo
|
231 |
|
232 |
## Demo Guidelines
|
233 |
|
@@ -244,10 +242,10 @@ description = """This is an online demo of the `Llama-OpenReviewer-8B` model, wh
|
|
244 |
|
245 |
theme = gr.themes.Default(primary_hue="gray", secondary_hue="blue", neutral_hue="slate")
|
246 |
with gr.Blocks(theme=theme) as demo:
|
247 |
-
title = gr.HTML(title
|
248 |
title_icons = gr.Markdown(title_icons)
|
249 |
description = gr.Markdown(description)
|
250 |
-
instr = gr.Markdown("Upload your paper in pdf format")
|
251 |
file_input = gr.File(file_types=[".pdf"], file_count="single")
|
252 |
paper_text_field= gr.Textbox("Upload a pdf or paste the full text of your paper in markdown format here.", label="Paper Text", max_lines=20, autoscroll=False)
|
253 |
with gr.Accordion("Review Template", open=False):
|
|
|
219 |
<h1 style="font-weight: 900; margin-bottom: 7px; line-height: normal;">
|
220 |
OpenReviewer
|
221 |
</h1>
|
222 |
+
<a href="https://huggingface.co/maxidl/Llama-OpenReviewer-8B""><img src="https://img.shields.io/badge/🤗-Model-ffbd45.svg" alt="HuggingFace"></a>
|
223 |
+
<p>Built with Llama</p>
|
224 |
</div>
|
225 |
</div>
|
226 |
"""
|
|
|
|
|
|
|
|
|
227 |
|
228 |
+
description = """This is an online demo featuring the `Llama-OpenReviewer-8B` model, which generates high-quality reviews for machine learning and AI-related papers.
|
229 |
|
230 |
## Demo Guidelines
|
231 |
|
|
|
242 |
|
243 |
theme = gr.themes.Default(primary_hue="gray", secondary_hue="blue", neutral_hue="slate")
|
244 |
with gr.Blocks(theme=theme) as demo:
|
245 |
+
title = gr.HTML(title)
|
246 |
title_icons = gr.Markdown(title_icons)
|
247 |
description = gr.Markdown(description)
|
248 |
+
# instr = gr.Markdown("Upload your paper in pdf format")
|
249 |
file_input = gr.File(file_types=[".pdf"], file_count="single")
|
250 |
paper_text_field= gr.Textbox("Upload a pdf or paste the full text of your paper in markdown format here.", label="Paper Text", max_lines=20, autoscroll=False)
|
251 |
with gr.Accordion("Review Template", open=False):
|