Update app.py
Browse files
app.py
CHANGED
|
@@ -142,13 +142,13 @@ with gr.Blocks(title="Automated Enzyme Kinetics Extractor") as demo:
|
|
| 142 |
<br><strong>5</strong>: Click "Generate" to extract, and the extracted information will display below.
|
| 143 |
</p>'''
|
| 144 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
with gr.Row():
|
| 146 |
with gr.Column(scale=1):
|
| 147 |
-
file_input = gr.File(label="Upload your PDF", type="filepath")
|
| 148 |
-
example = gr.Examples(examples=[["./sample.pdf"]], inputs=file_input)
|
| 149 |
-
with gr.Row():
|
| 150 |
-
viewer_button = gr.Button("View PDF", variant="secondary")
|
| 151 |
-
extract_button = gr.Button("Extract Text", variant="primary")
|
| 152 |
file_out = gr.Gallery(label="PDF Viewer", columns=1, height="auto", object_fit="contain")
|
| 153 |
|
| 154 |
with gr.Column(scale=1):
|
|
|
|
| 142 |
<br><strong>5</strong>: Click "Generate" to extract, and the extracted information will display below.
|
| 143 |
</p>'''
|
| 144 |
)
|
| 145 |
+
file_input = gr.File(label="Upload your PDF", type="filepath")
|
| 146 |
+
example = gr.Examples(examples=[["./sample.pdf"]], inputs=file_input)
|
| 147 |
+
with gr.Row():
|
| 148 |
+
viewer_button = gr.Button("View PDF", variant="secondary")
|
| 149 |
+
extract_button = gr.Button("Extract Text", variant="primary")
|
| 150 |
with gr.Row():
|
| 151 |
with gr.Column(scale=1):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
file_out = gr.Gallery(label="PDF Viewer", columns=1, height="auto", object_fit="contain")
|
| 153 |
|
| 154 |
with gr.Column(scale=1):
|