[Bugfix] Improve/modal deployment (#1041)

Co-authored-by: Deven Patel <deven298@yahoo.com>
This commit is contained in:
Deven Patel
2023-12-21 14:30:54 +05:30
committed by GitHub
parent a10823d309
commit b77d9d750f
5 changed files with 265 additions and 10 deletions

View File

@@ -169,6 +169,7 @@ def run_dev_streamlit_io():
except KeyboardInterrupt:
console.print("\n🛑 [bold yellow]Streamlit server stopped[/bold yellow]")
def run_dev_render_com(debug, host, port):
uvicorn_command = ["uvicorn", "app:app"]
@@ -299,6 +300,7 @@ def deploy_streamlit():
Please ensure Streamlit CLI is installed and in your PATH.[/bold red]"""
)
def deploy_render():
render_deploy_cmd = ["render", "blueprint", "launch"]

View File

@@ -1 +1 @@
OPENAI_API_KEY=
OPENAI_API_KEY=sk-xxx