mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +00:00
(fix) ui
This commit is contained in:
parent
9bd188dfb5
commit
a790991a13
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ origins = ["*"]
|
||||||
|
|
||||||
# get current directory
|
# get current directory
|
||||||
try:
|
try:
|
||||||
current_dir = os.getcwd()
|
current_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
ui_path = os.path.join(current_dir, "_experimental", "out")
|
ui_path = os.path.join(current_dir, "_experimental", "out")
|
||||||
app.mount("/ui", StaticFiles(directory=ui_path, html=True), name="ui")
|
app.mount("/ui", StaticFiles(directory=ui_path, html=True), name="ui")
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue