cevheri commited on
Commit
f0272e2
·
1 Parent(s): d6c56ba

build: add run script to set environment variables and start the application

Browse files
Files changed (1) hide show
  1. scripts/run.sh +11 -0
scripts/run.sh ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ echo "Prepare environment variables"
4
+ export FASTMCP_SERVER_HOST=0.0.0.0
5
+ export FASTMCP_SERVER_PORT=7860
6
+ export GRADIO_SERVER_HOST=0.0.0.0
7
+ export GRADIO_SERVER_PORT=7860
8
+
9
+ sleep 1
10
+ echo "Starting application..."
11
+ uv run app.py