Commit
·
e1aa3b0
1
Parent(s):
c5c7562
Small fix
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def service_pipeline(input_text):
|
|
51 |
doctor_spec_result = doctor_spec_predict(input_text)
|
52 |
dops_result = dops_predict(input_text)
|
53 |
dops_values = convert_dops_to_dif_fields(dops_result)
|
54 |
-
return categoriser_result,doctor_spec_result,dops_values[0],dops_values[1],dops_values[2],dops_values[3],dops_values[
|
55 |
demo = gr.Interface(fn=service_pipeline,inputs=gr.components.Textbox(label='Название услуги'),
|
56 |
outputs=[gr.components.Textbox(label='Относится ли данная услуга к приёму специалиста'),
|
57 |
gr.components.Textbox(label='Специальность врача'),
|
|
|
51 |
doctor_spec_result = doctor_spec_predict(input_text)
|
52 |
dops_result = dops_predict(input_text)
|
53 |
dops_values = convert_dops_to_dif_fields(dops_result)
|
54 |
+
return categoriser_result,doctor_spec_result,dops_values[0],dops_values[1],dops_values[2],dops_values[3],dops_values[4]
|
55 |
demo = gr.Interface(fn=service_pipeline,inputs=gr.components.Textbox(label='Название услуги'),
|
56 |
outputs=[gr.components.Textbox(label='Относится ли данная услуга к приёму специалиста'),
|
57 |
gr.components.Textbox(label='Специальность врача'),
|