nougat / app.py
ysharma's picture
ysharma HF staff
Create app.py
c9e6420
raw
history blame
322 Bytes
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)