isunnyrock commited on
Commit
d562028
1 Parent(s): 73415c6

minor UI changes

Browse files
Files changed (1) hide show
  1. app.py +15 -15
app.py CHANGED
@@ -365,15 +365,16 @@ def openai_remedy(searchval):
365
  #st.markdown(completion.choices[0].delta.content)
366
  return
367
 
 
368
 
369
  tab1, tab2, tab3 = st.tabs(["Home", "Solution", "Team"])
370
 
371
 
372
  #First Tab: Title of Application and description
373
  with tab1:
374
- st.title("Plant Disease Identification")
375
  # Display Plant Care Icon
376
- st.image(".vscode/inputs/plantIcon.jpg", width=100)
 
377
  st.markdown("Plant diseases are a significant threat to agricultural productivity worldwide, causing substantial crop losses and economic damage. These diseases can be caused by various factors, including fungi, bacteria, viruses, and environmental stressors. Recognizing the symptoms of plant diseases early is crucial for implementing effective management strategies and minimizing the impact on crop yield and quality.")
378
  # Importance of Early Detection
379
  st.write("""
@@ -383,7 +384,8 @@ Early detection of plant diseases is paramount for farmers to protect their crop
383
  """)
384
 
385
  # Types of Plant Diseases Detected
386
- st.image(".vscode/inputs/Plant-disease-classifier-with-ai-blog-banner.jpg", width=700)
 
387
 
388
  st.write("With more than 50% of the population in India still relying on agriculture and with the average farm sizes and incomes being very small, we believe that cost effective solutions for early detection and treatment solutions for disease could significantly improve the quality of produce and lives of farmers. With smartphones being ubiquitous, we believe providing solutions to farmers over a smartphone is the most penetrative form.")
389
 
@@ -392,7 +394,6 @@ Early detection of plant diseases is paramount for farmers to protect their crop
392
 
393
  #Second Tab: Image upload and disease detection and remidy susgestions
394
  with tab2:
395
- st.title("Plant classification, Disease detection and management")
396
  # Load and display the image
397
  uploaded_file = st.file_uploader("Upload Leaf Image...", type=["jpg", "jpeg", "png"], key="uploader")
398
 
@@ -462,35 +463,34 @@ While our disease identification system strives for accuracy and reliability, it
462
 
463
 
464
 
465
-
466
  # Third Tab
467
  with tab3:
468
- st.title("CDS Batch 6 - Group 2:")
469
  st.divider()
470
 
471
- st.write("Abhinav Singh")
472
  st.divider()
473
 
474
- st.write("Ankit Kourav")
475
  st.divider()
476
 
477
- st.write("Challoju Anurag.")
478
  st.divider()
479
 
480
- st.write("Madhucchand Darbha")
481
  st.divider()
482
 
483
- st.write("Neha Gupta")
484
  st.divider()
485
 
486
- st.write("Pradeep Rajagopal")
487
  st.divider()
488
 
489
- st.write("Rakesh Vegesana")
490
  st.divider()
491
 
492
- st.write("Sachin Sharma")
493
  st.divider()
494
 
495
- st.write("Shashank Srivastava")
496
  st.divider()
 
365
  #st.markdown(completion.choices[0].delta.content)
366
  return
367
 
368
+ st.title("Image-based plant Disease Identification")
369
 
370
  tab1, tab2, tab3 = st.tabs(["Home", "Solution", "Team"])
371
 
372
 
373
  #First Tab: Title of Application and description
374
  with tab1:
 
375
  # Display Plant Care Icon
376
+ with st.columns(3)[0]:
377
+ st.image(".vscode/inputs/plantIcon.jpg", width=50)
378
  st.markdown("Plant diseases are a significant threat to agricultural productivity worldwide, causing substantial crop losses and economic damage. These diseases can be caused by various factors, including fungi, bacteria, viruses, and environmental stressors. Recognizing the symptoms of plant diseases early is crucial for implementing effective management strategies and minimizing the impact on crop yield and quality.")
379
  # Importance of Early Detection
380
  st.write("""
 
384
  """)
385
 
386
  # Types of Plant Diseases Detected
387
+ with st.columns(3)[1]:
388
+ st.image(".vscode/inputs/Plant-disease-classifier-with-ai-blog-banner.jpg", width=200)
389
 
390
  st.write("With more than 50% of the population in India still relying on agriculture and with the average farm sizes and incomes being very small, we believe that cost effective solutions for early detection and treatment solutions for disease could significantly improve the quality of produce and lives of farmers. With smartphones being ubiquitous, we believe providing solutions to farmers over a smartphone is the most penetrative form.")
391
 
 
394
 
395
  #Second Tab: Image upload and disease detection and remidy susgestions
396
  with tab2:
 
397
  # Load and display the image
398
  uploaded_file = st.file_uploader("Upload Leaf Image...", type=["jpg", "jpeg", "png"], key="uploader")
399
 
 
463
 
464
 
465
 
 
466
  # Third Tab
467
  with tab3:
468
+ st.markdown("""### CDS Batch 6 - Group 2""")
469
  st.divider()
470
 
471
+ st.write("- Abhinav Singh")
472
  st.divider()
473
 
474
+ st.write("- Ankit Kourav")
475
  st.divider()
476
 
477
+ st.write("- Challoju Anurag.")
478
  st.divider()
479
 
480
+ st.write("- Madhucchand Darbha")
481
  st.divider()
482
 
483
+ st.write("- Neha Gupta")
484
  st.divider()
485
 
486
+ st.write("- Pradeep Rajagopal")
487
  st.divider()
488
 
489
+ st.write("- Rakesh Vegesana")
490
  st.divider()
491
 
492
+ st.write("- Sachin Sharma")
493
  st.divider()
494
 
495
+ st.write("- Shashank Srivastava")
496
  st.divider()