docs(modal): add app running image

r0.4
Meng Zhang 2023-10-21 23:05:11 -07:00
parent 1fa84b719f
commit 0fcb04e370
2 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72b2969c4f909a77a7c9a224c33b8c858008670fbd5019b1d05b098c8f2a7eeb
size 383356

View File

@ -116,6 +116,9 @@ def app():
### Serve the 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.