Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,12 +60,12 @@ with gr.Blocks(title='Paper classifier') as demo:
|
|
60 |
with gr.Column():
|
61 |
gr.Markdown('## Inputs')
|
62 |
gr.Markdown('#### Please enter an arXiv link **OR** fill title and abstract manually')
|
63 |
-
arxiv_link = gr.Textbox(label="Arxiv link")
|
64 |
|
65 |
b1 = gr.Button("Parse Link")
|
66 |
|
67 |
-
title = gr.Textbox(label="Paper title")
|
68 |
-
abstract = gr.Textbox(label="Paper abstract")
|
69 |
|
70 |
b2 = gr.Button("Classify Paper", variant='primary')
|
71 |
|
|
|
60 |
with gr.Column():
|
61 |
gr.Markdown('## Inputs')
|
62 |
gr.Markdown('#### Please enter an arXiv link **OR** fill title and abstract manually')
|
63 |
+
arxiv_link = gr.Textbox(label="Arxiv link", placeholder="Flip this text")
|
64 |
|
65 |
b1 = gr.Button("Parse Link")
|
66 |
|
67 |
+
title = gr.Textbox(label="Paper title", placeholder="Title text")
|
68 |
+
abstract = gr.Textbox(label="Paper abstract", placeholder="Abstract text")
|
69 |
|
70 |
b2 = gr.Button("Classify Paper", variant='primary')
|
71 |
|