Spaces:
Runtime error
Runtime error
yirmibesogluz
commited on
Commit
·
35a7872
1
Parent(s):
5064d87
Changed sts example
Browse files- apps/sts.py +2 -2
apps/sts.py
CHANGED
@@ -40,9 +40,9 @@ def write():
|
|
40 |
)"""
|
41 |
|
42 |
first_text = st.text_area(label='First sentence: ', height=50,
|
43 |
-
value="
|
44 |
second_text = st.text_area(label='Second sentence: ', height=50,
|
45 |
-
value="
|
46 |
url = ("https://api-inference.huggingface.co/models/boun-tabi-LMG/" + model_name.lower())
|
47 |
params = {"max_new_tokens": 10 }
|
48 |
if st.button("Generate"):
|
|
|
40 |
)"""
|
41 |
|
42 |
first_text = st.text_area(label='First sentence: ', height=50,
|
43 |
+
value="Bugün okula gitmedim. ")
|
44 |
second_text = st.text_area(label='Second sentence: ', height=50,
|
45 |
+
value="Ben okula gitmedim bugün. ")
|
46 |
url = ("https://api-inference.huggingface.co/models/boun-tabi-LMG/" + model_name.lower())
|
47 |
params = {"max_new_tokens": 10 }
|
48 |
if st.button("Generate"):
|