sehaj13 commited on
Commit
fa9ee6a
·
verified ·
1 Parent(s): 439e8a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -72,10 +72,10 @@ def predict_crop_parameters(crop_name):
72
 
73
  with gr.Blocks() as demo:
74
  gr.Markdown("# 🌾 **AgroVision: ਫਸਲ ਤੋਂ ਪੈਰਾਮੀਟਰ**")
75
- crop_input = gr.Dropdown(choices=crops, label="🌿 ਫਸਲ ਦਾ ਨਾਂ ਲਿਖੋ")
76
- result_output = gr.Markdown(label="🧪 ਅਨੁਕੂਲ ਪੈਰਾਮੀਟਰ")
77
- run_btn = gr.Button("➡️ ਭਵਿੱਖਬਾਣੀ ਲਵੋ")
78
- run_btn.click(fn=predict_crop_parameters, inputs=[crop_input], outputs=[result_output])
79
 
80
 
81
  demo.launch()
 
72
 
73
  with gr.Blocks() as demo:
74
  gr.Markdown("# 🌾 **AgroVision: ਫਸਲ ਤੋਂ ਪੈਰਾਮੀਟਰ**")
75
+ crop_input = gr.Dropdown(choices=crops, label="🌿 ਫਸਲ ਦਾ ਨਾਂ ਲਿਖੋ")
76
+ result_output = gr.Markdown(label="🧪 ਅਨੁਕੂਲ ਪੈਰਾਮੀਟਰ")
77
+ run_btn = gr.Button("➡️ ਭਵਿੱਖਬਾਣੀ ਲਵੋ")
78
+ run_btn.click(fn=predict_crop_parameters, inputs=[crop_input], outputs=[result_output])
79
 
80
 
81
  demo.launch()