docs(modal): add app running image
parent
1fa84b719f
commit
0fcb04e370
|
|
@ -0,0 +1,3 @@
|
||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:72b2969c4f909a77a7c9a224c33b8c858008670fbd5019b1d05b098c8f2a7eeb
|
||||||
|
size 383356
|
||||||
|
|
@ -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.
|

|
||||||
|
|
||||||
|
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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue