marigen_api / main.py
jameszokah's picture
Synced repo using 'sync_with_huggingface' Github Action
1897f56 verified
raw
history blame contribute delete
200 Bytes
import sys
import uvicorn
__import__('pysqlite3')
sys.modules['sqlite3'] = sys.modules.pop('pysqlite3')
if __name__ == "__main__":
uvicorn.run("api:app", host="0.0.0.0", port=7860, reload=True)