Browse Source

missing lib

josh 8 tháng trước cách đây
mục cha
commit
62acc1afc7
2 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 0
      exo/api/chatgpt_api.py
  2. 0 1
      exo/main.py

+ 1 - 0
exo/api/chatgpt_api.py

@@ -9,6 +9,7 @@ from aiohttp import web
 import aiohttp_cors
 import traceback
 import os
+import signal
 import sys
 from exo import DEBUG, VERSION
 from exo.download.download_progress import RepoProgressEvent

+ 0 - 1
exo/main.py

@@ -195,7 +195,6 @@ async def run_model_cli(node: Node, inference_engine: InferenceEngine, model_nam
 
 def clean_path(path):
     """Clean and resolve given path."""
-    """strips swift optional type"""
     if path.startswith("Optional("):
         path = path.strip('Optional("').rstrip('")')
     return os.path.expanduser(path)