lyangas commited on
Commit
3c7ab9e
·
1 Parent(s): 1bb21bd

rename titles

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -19,5 +19,12 @@ def classify(text):
19
  return output_text
20
 
21
  print('INFO: starting gradio interface')
22
- iface = gr.Interface(fn=classify, inputs="text", outputs="text")
 
 
 
 
 
 
 
23
  iface.launch()
 
19
  return output_text
20
 
21
  print('INFO: starting gradio interface')
22
+ iface = gr.Interface(
23
+ enable_queue=True,
24
+ title="ICD10-codes classification",
25
+ description="",
26
+ fn=classify,
27
+ inputs=[gr.inputs.Textbox(label="Input text")],
28
+ outputs=gr.outputs.Textbox(label="Result class"),
29
+ )
30
  iface.launch()