Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -165,7 +165,7 @@ demo = gr.Interface(fn=inference,
|
|
165 |
inputs=[gr.Dataframe(label='input batch', col_count=1, datatype='str', type='array', wrap=True),
|
166 |
gr.Dropdown(label='data type', choices=['text','url'], type='index', value='url'),
|
167 |
gr.Checkbox(label='if url parse cached in archive.org'),
|
168 |
-
gr.Slider(minimum=1, maximum=10, step=1, label='Limit NER output'
|
169 |
outputs=[gr.Dataframe(label='output raw', col_count=1, datatype='number', type='array', wrap=True, header=OUT_HEADERS)],
|
170 |
#gr.Label(label='Company'),
|
171 |
#gr.Label(label='ESG'),
|
|
|
165 |
inputs=[gr.Dataframe(label='input batch', col_count=1, datatype='str', type='array', wrap=True),
|
166 |
gr.Dropdown(label='data type', choices=['text','url'], type='index', value='url'),
|
167 |
gr.Checkbox(label='if url parse cached in archive.org'),
|
168 |
+
gr.Slider(minimum=1, maximum=10, step=1, label='Limit NER output', value=5)],
|
169 |
outputs=[gr.Dataframe(label='output raw', col_count=1, datatype='number', type='array', wrap=True, header=OUT_HEADERS)],
|
170 |
#gr.Label(label='Company'),
|
171 |
#gr.Label(label='ESG'),
|