Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -252,12 +252,7 @@ def set_papers(date, title):
|
|
| 252 |
)
|
| 253 |
|
| 254 |
with gr.Blocks(css=STYLE) as demo:
|
| 255 |
-
gr.Markdown("#
|
| 256 |
-
gr.Markdown("Let's explore papers with auto generated questions and answers! "
|
| 257 |
-
"The target papers are collected from [Hugging Face π€ Daily Papers](https://huggingface.co/papers) on a daily basis. "
|
| 258 |
-
"The entire data is generated by [Google's Gemini 1.0](https://deepmind.google/technologies/gemini/) Pro. "
|
| 259 |
-
"If you are curious how it is done, visit the [Auto Paper Q&A Generation project repository](https://github.com/deep-diver/auto-paper-analysis) "
|
| 260 |
-
"Also, the generated dataset is hosted on Hugging Face π€ Dataset repository as well([Link](https://huggingface.co/datasets/chansung/auto-paper-qa2)). ")
|
| 261 |
|
| 262 |
with gr.Column(elem_classes=["group"]):
|
| 263 |
with gr.Row():
|
|
@@ -339,6 +334,11 @@ with gr.Blocks(css=STYLE) as demo:
|
|
| 339 |
breath_q_eli5_2 = gr.Markdown(f"βͺ **(ELI5)** {selected_paper['2_additional_breath_q:answers:eli5']}", elem_classes=["small-font"])
|
| 340 |
breath_q_expert_2 = gr.Markdown(f"βͺ **(Technical)** {selected_paper['2_additional_breath_q:answers:expert']}", visible=False, elem_classes=["small-font"])
|
| 341 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 342 |
search_r1.click(
|
| 343 |
set_date,
|
| 344 |
search_r1,
|
|
|
|
| 252 |
)
|
| 253 |
|
| 254 |
with gr.Blocks(css=STYLE) as demo:
|
| 255 |
+
gr.Markdown("# Let's explore papers with auto generated Q&As")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 256 |
|
| 257 |
with gr.Column(elem_classes=["group"]):
|
| 258 |
with gr.Row():
|
|
|
|
| 334 |
breath_q_eli5_2 = gr.Markdown(f"βͺ **(ELI5)** {selected_paper['2_additional_breath_q:answers:eli5']}", elem_classes=["small-font"])
|
| 335 |
breath_q_expert_2 = gr.Markdown(f"βͺ **(Technical)** {selected_paper['2_additional_breath_q:answers:expert']}", visible=False, elem_classes=["small-font"])
|
| 336 |
|
| 337 |
+
gr.Markdown("The target papers are collected from [Hugging Face π€ Daily Papers](https://huggingface.co/papers) on a daily basis. "
|
| 338 |
+
"The entire data is generated by [Google's Gemini 1.0](https://deepmind.google/technologies/gemini/) Pro. "
|
| 339 |
+
"If you are curious how it is done, visit the [Auto Paper Q&A Generation project repository](https://github.com/deep-diver/auto-paper-analysis) "
|
| 340 |
+
"Also, the generated dataset is hosted on Hugging Face π€ Dataset repository as well([Link](https://huggingface.co/datasets/chansung/auto-paper-qa2)). ")
|
| 341 |
+
|
| 342 |
search_r1.click(
|
| 343 |
set_date,
|
| 344 |
search_r1,
|