Spaces:
Runtime error
Runtime error
ariankhalfani
commited on
Commit
•
bc649a0
1
Parent(s):
80959f4
Update app.py
Browse files
app.py
CHANGED
@@ -53,8 +53,7 @@ def check_db_status():
|
|
53 |
"""Check the status of the databases and return a status message."""
|
54 |
cataract_status = "Loaded" if os.path.exists(db_path_cataract) else "Not Loaded"
|
55 |
glaucoma_status = "Loaded" if os.path.exists(db_path_glaucoma) else "Not Loaded"
|
56 |
-
|
57 |
-
return f"Cataract Database: {cataract_status}\nGlaucoma Database: {glaucoma_status}\nContext Database: {context_status}"
|
58 |
|
59 |
def toggle_input_visibility(input_type):
|
60 |
if input_type == "Voice":
|
|
|
53 |
"""Check the status of the databases and return a status message."""
|
54 |
cataract_status = "Loaded" if os.path.exists(db_path_cataract) else "Not Loaded"
|
55 |
glaucoma_status = "Loaded" if os.path.exists(db_path_glaucoma) else "Not Loaded"
|
56 |
+
return f"Cataract Database: {cataract_status}\nGlaucoma Database: {glaucoma_status}"
|
|
|
57 |
|
58 |
def toggle_input_visibility(input_type):
|
59 |
if input_type == "Voice":
|