TranscriptApi / app.py
Th3BossC's picture
made changes to support huggingface spaces
dbec7d6
raw
history blame
314 Bytes
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()