Commit ·
f4a17dc
1
Parent(s): e052571
Update app.py
Browse files
app.py
CHANGED
|
@@ -148,7 +148,7 @@ output_text = gr.Textbox()
|
|
| 148 |
output_path_component = gr.File(label="Select Output Path")
|
| 149 |
iface = gr.Interface(
|
| 150 |
fn=pdf_to_text,
|
| 151 |
-
inputs=
|
| 152 |
# inputs=["textbox", input_folder_text, "textbox", max_tokens, temp_slider, prob_slider],
|
| 153 |
outputs=output_text,
|
| 154 |
title='COBIx Endoscopy Report De-Identification',
|
|
|
|
| 148 |
output_path_component = gr.File(label="Select Output Path")
|
| 149 |
iface = gr.Interface(
|
| 150 |
fn=pdf_to_text,
|
| 151 |
+
inputs='file',
|
| 152 |
# inputs=["textbox", input_folder_text, "textbox", max_tokens, temp_slider, prob_slider],
|
| 153 |
outputs=output_text,
|
| 154 |
title='COBIx Endoscopy Report De-Identification',
|