Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -55,7 +55,7 @@ def run_server(
|
|
55 |
global feature_telemetry
|
56 |
args = locals()
|
57 |
if local:
|
58 |
-
from
|
59 |
else:
|
60 |
try:
|
61 |
from .litellm.proxy.proxy_server import app, save_worker_config, usage_telemetry
|
@@ -65,7 +65,7 @@ def run_server(
|
|
65 |
raise e
|
66 |
else:
|
67 |
# this is just a local/relative import error, user git cloned litellm
|
68 |
-
from
|
69 |
feature_telemetry = usage_telemetry
|
70 |
if version == True:
|
71 |
pkg_version = importlib.metadata.version("litellm")
|
|
|
55 |
global feature_telemetry
|
56 |
args = locals()
|
57 |
if local:
|
58 |
+
from proxy_server import app, save_worker_config, usage_telemetry
|
59 |
else:
|
60 |
try:
|
61 |
from .litellm.proxy.proxy_server import app, save_worker_config, usage_telemetry
|
|
|
65 |
raise e
|
66 |
else:
|
67 |
# this is just a local/relative import error, user git cloned litellm
|
68 |
+
from proxy_server import app, save_worker_config, usage_telemetry
|
69 |
feature_telemetry = usage_telemetry
|
70 |
if version == True:
|
71 |
pkg_version = importlib.metadata.version("litellm")
|