bug: remove streamlit js eval (#82)
parent
94e025b663
commit
359fc97f45
|
|
@ -2753,21 +2753,6 @@ watchdog = {version = "*", markers = "platform_system != \"Darwin\""}
|
||||||
[package.extras]
|
[package.extras]
|
||||||
snowflake = ["snowflake-snowpark-python"]
|
snowflake = ["snowflake-snowpark-python"]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "streamlit-js-eval"
|
|
||||||
version = "0.1.5"
|
|
||||||
description = "A custom Streamlit component to evaluate arbitrary Javascript expressions."
|
|
||||||
category = "main"
|
|
||||||
optional = false
|
|
||||||
python-versions = ">=3.8"
|
|
||||||
files = [
|
|
||||||
{file = "streamlit_js_eval-0.1.5-py3-none-any.whl", hash = "sha256:86f092497d1254fd5820bcc3e389a35e9dc638684398a8fa945d0d0b9034fa4a"},
|
|
||||||
{file = "streamlit_js_eval-0.1.5.tar.gz", hash = "sha256:3fa9502d6895057aaf8922edadfa1659a764b5b01da5dfe7fdd52eeac32658c0"},
|
|
||||||
]
|
|
||||||
|
|
||||||
[package.dependencies]
|
|
||||||
streamlit = ">=1.0.0"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sympy"
|
name = "sympy"
|
||||||
version = "1.11.1"
|
version = "1.11.1"
|
||||||
|
|
@ -3562,4 +3547,4 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"]
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = "^3.10"
|
python-versions = "^3.10"
|
||||||
content-hash = "a0e7c6477e505c9e31b7cb862e95d7b85e44f734f4731ea55ad518f0bce8362a"
|
content-hash = "df2b6abe8684f976034d432760b5475e48695b2d2557ca4ddf32cf591c5d4475"
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@ peft = {git = "https://github.com/huggingface/peft.git", rev = "v0.2.0"}
|
||||||
duckdb = "^0.7.1"
|
duckdb = "^0.7.1"
|
||||||
torch = "^2.0.0"
|
torch = "^2.0.0"
|
||||||
bitsandbytes = "^0.37.2"
|
bitsandbytes = "^0.37.2"
|
||||||
streamlit-js-eval = "^0.1.5"
|
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
pre-commit = "^3.1.1"
|
pre-commit = "^3.1.1"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
import streamlit as st
|
import streamlit as st
|
||||||
from streamlit_js_eval import get_page_location
|
|
||||||
from utils.service_info import ServiceInfo
|
from utils.service_info import ServiceInfo
|
||||||
from utils.streamlit import set_page_config
|
from utils.streamlit import set_page_config
|
||||||
|
|
||||||
|
|
@ -18,7 +17,6 @@ def make_badge_markdown(x: ServiceInfo):
|
||||||
set_page_config(page_title="Home")
|
set_page_config(page_title="Home")
|
||||||
|
|
||||||
badges = " ".join(map(make_badge_markdown, SERVICES))
|
badges = " ".join(map(make_badge_markdown, SERVICES))
|
||||||
server_url = get_page_location()["origin"]
|
|
||||||
st.markdown(
|
st.markdown(
|
||||||
"""
|
"""
|
||||||
## Tabby [](http://github.com/TabbyML/tabby)
|
## Tabby [](http://github.com/TabbyML/tabby)
|
||||||
|
|
@ -28,11 +26,6 @@ st.markdown(
|
||||||
|
|
||||||
**Congrats, your server is live!**
|
**Congrats, your server is live!**
|
||||||
|
|
||||||
Below is the URL for your API endpoint.
|
|
||||||
```
|
|
||||||
{server_url}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Clients
|
### Clients
|
||||||
|
|
||||||
* [Vim](https://github.com/TabbyML/tabby/tree/main/clients/vim)
|
* [Vim](https://github.com/TabbyML/tabby/tree/main/clients/vim)
|
||||||
|
|
@ -40,7 +33,5 @@ Below is the URL for your API endpoint.
|
||||||
|
|
||||||
""".replace(
|
""".replace(
|
||||||
"{badges}", badges
|
"{badges}", badges
|
||||||
).replace(
|
|
||||||
"{server_url}", server_url
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue