changed some semantic
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def read_dict_from_file(filename):
|
|
20 |
text_output_path = 'output.txt'
|
21 |
database, text_list = read_dict_from_file(text_output_path)
|
22 |
text_list.append("Unidentified")
|
23 |
-
database["
|
24 |
image_paths = ['images/captured_image.jpg']
|
25 |
|
26 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
|
|
20 |
text_output_path = 'output.txt'
|
21 |
database, text_list = read_dict_from_file(text_output_path)
|
22 |
text_list.append("Unidentified")
|
23 |
+
database["N/A"] = "NA"
|
24 |
image_paths = ['images/captured_image.jpg']
|
25 |
|
26 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|