Spaces:
Runtime error
Runtime error
Update app.py
Browse files53 unmodified lines545556575859606162636465666768697071727374757653 unmodified lines#create the input components for gradioinput_col1 = [ REGION = gr.inputs.Dropdown(choices =['DAKAR', 'THIES', 'SAINT-LOUIS', 'LOUGA', 'KAOLACK', 'DIOURBEL', 'TAMBACOUNDA' 'KAFFRINE,KOLDA', 'FATICK', 'MATAM', 'ZIGUINCHOR', 'SEDHIOU', 'KEDOUGOU']),TENURE = gr.inputs.Dropdown(choices =['K > 24 month', 'I 18-21 month', 'H 15-18 month', 'G 12-15 month', 'J 21-24 month', 'F 9-12 month', 'E 6-9 month', 'D 3-6 month']),MONTANT = gr.inputs.Number(),FREQUENCE_RECH = gr.Number(),REVENUE = gr.Number(),ARPU_SEGMENT = gr.Number(),FREQUENCE = gr.Number(),DATA_VOLUME = gr.Number()]input_col2 = [ON_NET = gr.Number(),ORANGE = gr.Number(),TIGO = gr.Number(),ZONE1 = gr.Number(),ZONE2 = gr.Number(),MRG = gr.inputs.Dropdown(choices =['NO']),REGULARITY = gr.Number(),FREQ_TOP_PACK = gr.Number()]output = gr.Textbox(label='Prediction')#create the interface component53 unmodified lines545556575859606162636465666768697071727374757653 unmodified lines#create the input components for gradioinput_col1 = [ gr.inputs.Dropdown(choices =['DAKAR', 'THIES', 'SAINT-LOUIS', 'LOUGA', 'KAOLACK', 'DIOURBEL', 'TAMBACOUNDA' 'KAFFRINE,KOLDA', 'FATICK', 'MATAM', 'ZIGUINCHOR', 'SEDHIOU', 'KEDOUGOU']),gr.inputs.Dropdown(choices =['K > 24 month', 'I 18-21 month', 'H 15-18 month', 'G 12-15 month', 'J 21-24 month', 'F 9-12 month', 'E 6-9 month', 'D 3-6 month']),gr.inputs.Number(),gr.Number(),gr.Number(),gr.Number(),gr.Number(),gr.Number()]input_col2 = [ gr.Number(),gr.Number(),gr.Number(),gr.Number(),gr.Number(),gr.inputs.Dropdown(choices =['NO']),gr.Number(),gr.Number()]output = gr.Textbox(label='Prediction')#create the interface component
app.py+16-16