mirror of
https://github.com/exo-explore/exo.git
synced 2025-10-23 02:57:14 +03:00
move tinychat inside exo package
This commit is contained in:
@@ -176,7 +176,7 @@ class ChatGPTAPI:
|
||||
cors.add(self.app.router.add_post("/chat/completions", self.handle_post_chat_completions), {"*": cors_options})
|
||||
cors.add(self.app.router.add_post("/v1/chat/completions", self.handle_post_chat_completions), {"*": cors_options})
|
||||
|
||||
self.static_dir = Path(__file__).parent.parent.parent/"tinychat/examples/tinychat"
|
||||
self.static_dir = Path(__file__).parent.parent/"tinychat"
|
||||
self.app.router.add_get("/", self.handle_root)
|
||||
self.app.router.add_static("/", self.static_dir, name="static")
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 750 B After Width: | Height: | Size: 750 B |
Reference in New Issue
Block a user