Dricz commited on
Commit
7a34084
1 Parent(s): 7c8cc8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -92,10 +92,12 @@ outputs = [gr.Image( type="pil", label="Output Image"),
92
  gr.Textbox(label="Result")
93
  ]
94
 
95
- examples = [[os.path.join(image_directory, "jagung7.jpg"),640, 0.3, 0.6],
96
- [os.path.join(image_directory, "jagung4.jpeg"),640, 0.3, 0.6],
97
- [os.path.join(image_directory, "jagung6.jpeg"),640, 0.3, 0.6],
98
- ]
 
 
99
  title = """Corn Diseases Detection Finetuned YOLOv8
100
  <br></br>
101
  <a href="https://colab.research.google.com/drive/1ittrxr--vJeRqJquZyNfo7dlq6xRADox?authuser=4">
 
92
  gr.Textbox(label="Result")
93
  ]
94
 
95
+ examples = [
96
+ ["/home/user/app/images/jagung7.jpg", 640, 0.3, 0.6],
97
+ ["/home/user/app/images/jagung4.jpeg", 640, 0.3, 0.6],
98
+ ["/home/user/app/images/jagung6.jpeg", 640, 0.3, 0.6]
99
+ ]
100
+
101
  title = """Corn Diseases Detection Finetuned YOLOv8
102
  <br></br>
103
  <a href="https://colab.research.google.com/drive/1ittrxr--vJeRqJquZyNfo7dlq6xRADox?authuser=4">