howard-hou commited on
Commit
4e40a03
1 Parent(s): 51b71a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -89,13 +89,14 @@ def evaluate(
89
 
90
 
91
  ##########################################################################
 
92
  examples = [
93
  [
94
- "./extreme_ironing.jpg",
95
  "What is unusual about this image?",
96
  ],
97
  [
98
- "./waterview.jpg",
99
  "What are the things I should be cautious about when I visit here?",
100
  ]
101
  ]
 
89
 
90
 
91
  ##########################################################################
92
+ cur_dir = os.path.dirname(os.path.abspath(__file__))
93
  examples = [
94
  [
95
+ f"{cur_dir}/extreme_ironing.jpg",
96
  "What is unusual about this image?",
97
  ],
98
  [
99
+ f"{cur_dir}/waterview.jpg",
100
  "What are the things I should be cautious about when I visit here?",
101
  ]
102
  ]