mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
(feat) proxy - remove streamlit ui on startup
This commit is contained in:
parent
20236c1c69
commit
52db2a6040
2 changed files with 1 additions and 5 deletions
|
@ -374,7 +374,7 @@ async def run_streamlit_ui():
|
|||
while True:
|
||||
await asyncio.sleep(3600)
|
||||
except Exception as e:
|
||||
print(f"An error occurred: {e}")
|
||||
print_verbose(f"Admin UI - Streamlit. An error occurred: {e}")
|
||||
|
||||
|
||||
def cost_tracking():
|
||||
|
@ -1013,9 +1013,6 @@ async def startup_event():
|
|||
duration=None, models=[], aliases={}, config={}, spend=0, token=master_key
|
||||
)
|
||||
|
||||
# Run streamlit_ui as a background task
|
||||
asyncio.create_task(run_streamlit_ui())
|
||||
|
||||
|
||||
#### API ENDPOINTS ####
|
||||
@router.get(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue