Spaces:
Running
Running
File size: 314 Bytes
b8b87ed dbec7d6 b8b87ed |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
from TranscriptApi import create_app
from threading import Thread
app = create_app()
if __name__ == '__main__':
app.run(debug = False, host="0.0.0.0", port=7860)
# def run():
# app.run(host = "0.0.0.0", port = 8080)
# def keep_alive():
# t = Thread(target = run)
# t.start()
# keep_alive() |