Spaces:
Runtime error
Runtime error
liuwei
commited on
Commit
·
1faddf7
1
Parent(s):
e43fec0
init
Browse files
app.py
CHANGED
@@ -5,6 +5,9 @@ from sentence_transformers import SentenceTransformer, util
|
|
5 |
def app():
|
6 |
# 创建Streamlit应用程序
|
7 |
|
|
|
|
|
|
|
8 |
st.title("对比句子的相似度")
|
9 |
|
10 |
source_text = st.text_input("源句子", value="")
|
|
|
5 |
def app():
|
6 |
# 创建Streamlit应用程序
|
7 |
|
8 |
+
#使页面布局更宽
|
9 |
+
st.beta_set_page_config(wide_layout=True)
|
10 |
+
|
11 |
st.title("对比句子的相似度")
|
12 |
|
13 |
source_text = st.text_input("源句子", value="")
|