Skip to content

Commit

Permalink
fix: syntax error in modal server and modal deploy error in deploy …
Browse files Browse the repository at this point in the history
…workflow
  • Loading branch information
limcheekin committed Jul 12, 2024
1 parent 9345631 commit 5f51339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-modal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Deploy FastAPI app
run: >
STUB=$(echo "${{ github.event.inputs.model_name }}" | cut -d'/' -f2 | tr '.' '-')
modal deploy open/text/embeddings/server/modal.py
modal deploy open.text.embeddings.server.modal
- name: Test FastAPI app
run: >
Expand Down
1 change: 1 addition & 0 deletions open/text/embeddings/server/modal.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Modal Lab web app for open-text-embeddings.
from modal import Image, Stub, asgi_app
import os

stub = Stub(os.environ["STUB"])

Expand Down

0 comments on commit 5f51339

Please sign in to comment.