Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,11 +7,14 @@ input_2 = gr.inputs.Textbox(lines=1, placeholder='Feature Text', default="", lab
|
|
7 |
|
8 |
output_1 = gr.outputs.Textbox(type="auto", label=None)
|
9 |
|
10 |
-
gr.Interface(
|
|
|
|
|
|
|
11 |
model.get_predictions,
|
12 |
inputs=[input_1, input_2],
|
13 |
outputs=[output_1],
|
14 |
title='Identify Key Phrases in Patient Notes from Medical Licensing Exams',
|
15 |
theme='dark',
|
16 |
)
|
17 |
-
|
|
|
7 |
|
8 |
output_1 = gr.outputs.Textbox(type="auto", label=None)
|
9 |
|
10 |
+
# iface = gr.Interface(fn= ... jo bhi code hai)
|
11 |
+
# iface.launch( enable_queue=True)
|
12 |
+
|
13 |
+
iface = gr.Interface(
|
14 |
model.get_predictions,
|
15 |
inputs=[input_1, input_2],
|
16 |
outputs=[output_1],
|
17 |
title='Identify Key Phrases in Patient Notes from Medical Licensing Exams',
|
18 |
theme='dark',
|
19 |
)
|
20 |
+
iface.launch()
|