Nurse_LLM_Demo / app.py
microhum's picture
add gradio tts & app.py which make gradio and api same route
f5a4d36
raw
history blame
344 Bytes
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)