pushpinder06 commited on
Commit
3c9f826
·
verified ·
1 Parent(s): 9626864

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -184,7 +184,7 @@ with gr.Blocks() as demo:
184
  predict_btn.click(predict_crop, inputs=[N, P, K, temperature, humidity, ph, rainfall], outputs=crop_output)
185
 
186
  with gr.TabItem("🔁 ਫਸਲ ਤੋਂ ਪੈਰਾਮੀਟਰ"):
187
- crop_input = gr.Dropdown(choices=crops label="🌿 ਫਸਲ ਦਾ ਨਾਂ ਲਿਖੋ")
188
  result_output = gr.JSON(label="🧪 ਅਨੁਕੂਲ ਪੈਰਾਮੀਟਰ")
189
  run_btn = gr.Button("➡️ ਭਵਿੱਖਬਾਣੀ ਲਵੋ")
190
  run_btn.click(fn=predict_crop_parameters, inputs=[crop_input], outputs=[result_output])
 
184
  predict_btn.click(predict_crop, inputs=[N, P, K, temperature, humidity, ph, rainfall], outputs=crop_output)
185
 
186
  with gr.TabItem("🔁 ਫਸਲ ਤੋਂ ਪੈਰਾਮੀਟਰ"):
187
+ crop_input = gr.Dropdown(choices=crops, label="🌿 ਫਸਲ ਦਾ ਨਾਂ ਲਿਖੋ")
188
  result_output = gr.JSON(label="🧪 ਅਨੁਕੂਲ ਪੈਰਾਮੀਟਰ")
189
  run_btn = gr.Button("➡️ ਭਵਿੱਖਬਾਣੀ ਲਵੋ")
190
  run_btn.click(fn=predict_crop_parameters, inputs=[crop_input], outputs=[result_output])