mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-13 23:53:02 +00:00
18 lines
394 B
Python
18 lines
394 B
Python
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,
|
|
)
|