Nikita Makarov commited on
Commit
fdd1b7e
Β·
1 Parent(s): 83317f8

Update Modal proxy URL and remove old script

Browse files
Files changed (1) hide show
  1. deploy_modal.sh +0 -29
deploy_modal.sh DELETED
@@ -1,29 +0,0 @@
1
- #!/bin/bash
2
- # AI Radio Modal Proxy Deployment Script
3
-
4
- echo "πŸš€ Deploying AI Radio YouTube Proxy to Modal..."
5
-
6
- # Check if modal is installed
7
- if ! command -v modal &> /dev/null; then
8
- echo "❌ Modal CLI not found. Installing..."
9
- pip install modal
10
- fi
11
-
12
- # Login to Modal (if not already logged in)
13
- echo "πŸ”‘ Checking Modal authentication..."
14
- modal token new
15
-
16
- # Fix deprecated decorators
17
- echo "πŸ”§ Fixing deprecated decorators..."
18
- sed -i '' 's/@modal.web_endpoint/@modal.fastapi_endpoint/g' modal_proxy.py
19
-
20
- # Deploy the app
21
- echo "πŸ“¦ Deploying to Modal..."
22
- modal deploy modal_proxy.py
23
-
24
- echo "βœ… Deployment complete!"
25
- echo ""
26
- echo "πŸ“ Next steps:"
27
- echo "1. Copy the Modal URL shown above"
28
- echo "2. Update src/mcp_servers/music_server.py with your Modal URL"
29
- echo "3. Run: git add . && git commit -m 'Update Modal URL' && git push hf main --force"