Spaces:
Sleeping
Sleeping
app.py
CHANGED
@@ -250,7 +250,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
250 |
paper_text_field= gr.Textbox("Upload a pdf or paste the full text of your paper in markdown format here.", label="Paper Text", lines=20, max_lines=20, autoscroll=False)
|
251 |
with gr.Accordion("Review Template", open=False):
|
252 |
review_template_description = gr.Markdown("We use the ICLR 2025 review template by default, but you can modify the template below as you like.")
|
253 |
-
review_template_field = gr.Textbox(label="",lines=20, max_lines=20, autoscroll=False, value=REVIEW_FIELDS)
|
254 |
generate_button = gr.Button("Generate Review", interactive=not paper_text_field)
|
255 |
file_input.upload(process_file, file_input, paper_text_field)
|
256 |
paper_text_field.change(lambda text: gr.update(interactive=True) if len(text) > 200 else gr.update(interactive=False), paper_text_field, generate_button)
|
|
|
250 |
paper_text_field= gr.Textbox("Upload a pdf or paste the full text of your paper in markdown format here.", label="Paper Text", lines=20, max_lines=20, autoscroll=False)
|
251 |
with gr.Accordion("Review Template", open=False):
|
252 |
review_template_description = gr.Markdown("We use the ICLR 2025 review template by default, but you can modify the template below as you like.")
|
253 |
+
review_template_field = gr.Textbox(label=" ",lines=20, max_lines=20, autoscroll=False, value=REVIEW_FIELDS)
|
254 |
generate_button = gr.Button("Generate Review", interactive=not paper_text_field)
|
255 |
file_input.upload(process_file, file_input, paper_text_field)
|
256 |
paper_text_field.change(lambda text: gr.update(interactive=True) if len(text) > 200 else gr.update(interactive=False), paper_text_field, generate_button)
|