youl commited on
Commit
63b7fbf
·
1 Parent(s): 49a34d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -112,7 +112,7 @@ def predict(lat, lon):
112
  # deleted download files
113
  delete_tiles()
114
 
115
- return str(cld_prob)+ " % cloud coverage", str(days_ago)+" days ago",str(biomass)+" Mg/ha", str(carbon)+" MgC/ha","NDVI: "+ str(ndvi_index)
116
 
117
  # Create title, description and article strings
118
  title = "🌴BEEPAS : Biomass estimation to Evaluate the Environmental Performance of Agroforestry Systems🌴"
@@ -126,8 +126,8 @@ example_list = [[5.379913, -4.050445],[5.363292, -3.9481601],[5.316458, -4.01717
126
  outputs = [
127
  gr.Textbox(label="Cloud coverage"),
128
  gr.Textbox(label="Number of days since sensing"),
129
- gr.Textbox(label="Above ground biomass density(AGBD) Mg/ha"),
130
- gr.Textbox(label="Carbon stock density MgC/ha "),
131
  gr.Textbox(label="Mean NDVI"),]
132
 
133
 
 
112
  # deleted download files
113
  delete_tiles()
114
 
115
+ return str(cld_prob)+ " % cloud coverage", str(days_ago)+" days ago",str(biomass)+" Kg/ha", str(carbon)+" KgC/ha","NDVI: "+ str(ndvi_index)
116
 
117
  # Create title, description and article strings
118
  title = "🌴BEEPAS : Biomass estimation to Evaluate the Environmental Performance of Agroforestry Systems🌴"
 
126
  outputs = [
127
  gr.Textbox(label="Cloud coverage"),
128
  gr.Textbox(label="Number of days since sensing"),
129
+ gr.Textbox(label="Above ground biomass density(AGBD) Kg/ha"),
130
+ gr.Textbox(label="Carbon stock density KgC/ha "),
131
  gr.Textbox(label="Mean NDVI"),]
132
 
133