File size: 322 Bytes
c9e6420
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr

with gr.Blocks() as demo:

  with gr.Row():
    pdf_file = gr.File(label='Upload a PDF')
    mkd = gr.Markdown('  <i>OR</i>  ')
    pdf_link = gr.Textbox(placeholder='Enter an arxiv link here', label='Provide a link')

  with gr.Row():
    parsed_output = gr.Textbox(lines=5)

demo.launch(debug=True)