Spaces:
Sleeping
Sleeping
File size: 344 Bytes
f5a4d36 |
1 2 3 4 5 6 7 8 9 10 |
import uvicorn
from main import app
from interface import create_gradio_interface
import gradio as gr
if __name__ == "__main__":
gr_interface = create_gradio_interface()
gr_interface.queue(default_concurrency_limit=1)
app = gr.mount_gradio_app(app, gr_interface, path="/")
uvicorn.run(app, host='0.0.0.0', port=7860, workers=1) |