Skip to content

Commit

Permalink
docs(modal): add app running image
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Oct 22, 2023
1 parent 1fa84b7 commit 0fcb04e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions website/docs/installation/modal/app-running.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions website/docs/installation/modal/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ def app():

### Serve the app

Once we deploy this model with `modal serve app.py`, it will output the url of the web endpoint, in a form of `https://<USERNAME>--tabby-server-starcoder-1b-app-dev.modal.run`, it can be used as tabby server url in tabby editor extensions!
Once we deploy this model with `modal serve app.py`, it will output the url of the web endpoint, in a form of `https://<USERNAME>--tabby-server-starcoder-1b-app-dev.modal.run`.

See [app.py](https://github.com/TabbyML/tabby/blob/main/website/docs/installation/modal/app.py) for a complete example.
![App Running](./app-running.png)

Now it can be used as tabby server url in tabby editor extensions!
See [app.py](https://github.com/TabbyML/tabby/blob/main/website/docs/installation/modal/app.py) for the full code used in this tutorial.

0 comments on commit 0fcb04e

Please sign in to comment.