This commit is contained in:
ishaan-jaff 2024-01-31 15:32:46 -08:00
parent deee837bb0
commit 90eb50ddd3

View file

@ -162,7 +162,7 @@ origins = ["*"]
# get current directory
try:
current_dir = os.getcwd()
current_dir = os.path.dirname(os.path.abspath(__file__))
ui_path = os.path.join(current_dir, "_experimental", "out")
app.mount("/ui", StaticFiles(directory=ui_path, html=True), name="ui")
except: