mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-18 00:33:15 +00:00
Introduce code from Rust monorepo. This is a mess
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
if __name__ == "__main__":
|
||||
import os
|
||||
from controllable_talknet import *
|
||||
|
||||
if os.path.exists("/talknet/is_docker"):
|
||||
app.run_server(
|
||||
host="0.0.0.0",
|
||||
mode="external",
|
||||
debug=False,
|
||||
threaded=True,
|
||||
)
|
||||
else:
|
||||
app.run_server(
|
||||
mode="external",
|
||||
debug=False,
|
||||
threaded=True,
|
||||
)
|
||||
Reference in New Issue
Block a user