Aashi commited on
Commit
cdd9936
·
verified ·
1 Parent(s): fc44d33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -20,7 +20,15 @@ interface = gr.Interface(fn=generate_prescription,
20
  outputs=gr.Textbox(label="Produce Details"),
21
  title="FarmScan",
22
  description="Add/Upload an image of your produce (vegetable or fruits) and learn about its shelf life, ripening period, market time, best time to harvest and best market to sell.",
23
- allow_flagging="never")
 
 
 
 
 
 
 
 
24
 
25
  if __name__ == "__main__":
26
  interface.launch()
 
20
  outputs=gr.Textbox(label="Produce Details"),
21
  title="FarmScan",
22
  description="Add/Upload an image of your produce (vegetable or fruits) and learn about its shelf life, ripening period, market time, best time to harvest and best market to sell.",
23
+ allow_flagging="never",
24
+ gr.Examples(
25
+ examples = [
26
+ ["examples/green_tomato.jpeg"],
27
+ ["examples/onion.jpeg"],
28
+ ["examples/onion_potato.jpeg"],
29
+ ["examples/vegies.jpeg"],
30
+
31
+ ])
32
 
33
  if __name__ == "__main__":
34
  interface.launch()