Commit
·
a33e044
1
Parent(s):
282b459
Change layout
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def convert_dops_to_dif_fields(dops_result):
|
|
46 |
def service_pipeline(input_text):
|
47 |
categoriser_result = categoriser_predict(input_text)
|
48 |
if categoriser_result!='Консультация специалиста':
|
49 |
-
return 'Эта услуга не относится к приему специалиста','-','-'
|
50 |
else:
|
51 |
doctor_spec_result = doctor_spec_predict(input_text)
|
52 |
dops_result = dops_predict(input_text)
|
|
|
46 |
def service_pipeline(input_text):
|
47 |
categoriser_result = categoriser_predict(input_text)
|
48 |
if categoriser_result!='Консультация специалиста':
|
49 |
+
return 'Эта услуга не относится к приему специалиста','-','-','-','-','-','-'
|
50 |
else:
|
51 |
doctor_spec_result = doctor_spec_predict(input_text)
|
52 |
dops_result = dops_predict(input_text)
|