sunil18p31a0101 commited on
Commit
143e3b0
·
verified ·
1 Parent(s): cb1cb2b
Files changed (1) hide show
  1. app.py +1 -22
app.py CHANGED
@@ -56,26 +56,5 @@ outputs = gr.Textbox(label="Flood Probability")
56
 
57
  interface = gr.Interface(fn=predict, inputs=inputs, outputs=outputs,
58
  title="Flood Prediction Model",
59
- examples = pd.DataFrame({
60
- "MonsoonIntensity" :[5],
61
- "TopographyDrainage":[8],
62
- "RiverManagement":[5],
63
- "Deforestation":[8],
64
- "Urbanization":[6],
65
- 'ClimateChange':[4],
66
- 'DamsQuality':[4],
67
- 'Siltation':[3],
68
- 'AgriculturalPractices':[3],
69
- 'Encroachments':[4],
70
- 'IneffectiveDisasterPreparedness':[3],
71
- 'DrainageSystems':[5],
72
- 'CoastalVulnerability':[3],
73
- 'Landslides':[3],
74
- 'Watersheds':[5],
75
- 'DeterioratingInfrastructure':[4],
76
- 'PopulationScore':[7],
77
- 'WetlandLoss':[5],
78
- 'InadequatePlanning':[7],
79
- 'PoliticalFactors':[3]
80
- }))
81
  interface.launch(share=True)
 
56
 
57
  interface = gr.Interface(fn=predict, inputs=inputs, outputs=outputs,
58
  title="Flood Prediction Model",
59
+ examples=[["5", "8", "5", "8", "6", "4", "4", "3", "3", "4", "3", "5", "3", "3", "5", "4", "7", "5", "7", "3"]])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  interface.launch(share=True)