ysharma HF staff commited on
Commit
c9e6420
1 Parent(s): fc04664

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ with gr.Blocks() as demo:
4
+
5
+ with gr.Row():
6
+ pdf_file = gr.File(label='Upload a PDF')
7
+ mkd = gr.Markdown(' <i>OR</i> ')
8
+ pdf_link = gr.Textbox(placeholder='Enter an arxiv link here', label='Provide a link')
9
+
10
+ with gr.Row():
11
+ parsed_output = gr.Textbox(lines=5)
12
+
13
+ demo.launch(debug=True)