Remove /static path, update README
Browse files- README.md +9 -5
- nginx.conf +0 -15
- run.sh +0 -3
- static/index.html +0 -1
README.md
CHANGED
@@ -1,12 +1,16 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
colorTo: gray
|
6 |
sdk: docker
|
7 |
-
pinned:
|
8 |
-
short_description: A
|
9 |
app_port: 7860
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: Financial Multi Agent
|
3 |
+
emoji: 📈
|
4 |
+
colorFrom: blue
|
5 |
colorTo: gray
|
6 |
sdk: docker
|
7 |
+
pinned: true
|
8 |
+
short_description: A multi-agent system to provide financial insights/advice
|
9 |
app_port: 7860
|
10 |
+
video-url: Not done yet
|
11 |
+
tags:
|
12 |
+
- Agents-MCP-Hackathon-2025
|
13 |
+
- agent-demo-track
|
14 |
---
|
15 |
|
16 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
nginx.conf
CHANGED
@@ -32,19 +32,4 @@ server {
|
|
32 |
proxy_read_timeout 86400;
|
33 |
proxy_redirect off;
|
34 |
}
|
35 |
-
|
36 |
-
location /static {
|
37 |
-
# Serve backend http server from port 8000
|
38 |
-
rewrite ^/static/?(.*)$ /$1 break; # strip the /static/
|
39 |
-
proxy_pass http://localhost:8000;
|
40 |
-
proxy_http_version 1.1;
|
41 |
-
proxy_set_header Upgrade $http_upgrade;
|
42 |
-
proxy_set_header Connection 'upgrade';
|
43 |
-
proxy_set_header Host $host;
|
44 |
-
proxy_set_header X-Real-IP $remote_addr;
|
45 |
-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
46 |
-
proxy_cache_bypass $http_upgrade;
|
47 |
-
proxy_read_timeout 86400;
|
48 |
-
proxy_redirect off;
|
49 |
-
}
|
50 |
}
|
|
|
32 |
proxy_read_timeout 86400;
|
33 |
proxy_redirect off;
|
34 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
}
|
run.sh
CHANGED
@@ -4,12 +4,9 @@
|
|
4 |
service nginx start
|
5 |
|
6 |
# start the processes
|
7 |
-
python -m http.server --directory ./static --bind 0.0.0.0 8000 & echo $! > http_server.pid
|
8 |
python api.py & echo $!> api.pid
|
9 |
python app.py # blocking
|
10 |
|
11 |
# when unblocked, kill other processes and clean up
|
12 |
-
pkill -F http_server.pid
|
13 |
pkill -F api.pid
|
14 |
-
rm http_server.pid
|
15 |
rm api.pid
|
|
|
4 |
service nginx start
|
5 |
|
6 |
# start the processes
|
|
|
7 |
python api.py & echo $!> api.pid
|
8 |
python app.py # blocking
|
9 |
|
10 |
# when unblocked, kill other processes and clean up
|
|
|
11 |
pkill -F api.pid
|
|
|
12 |
rm api.pid
|
static/index.html
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
hello
|
|
|
|