Spaces:
Runtime error
Runtime error
Update apps/turna.py
Browse files- apps/turna.py +1 -1
apps/turna.py
CHANGED
@@ -95,7 +95,7 @@ def write():
|
|
95 |
)
|
96 |
|
97 |
input_text = st.text_area(label='Enter a text: ', height=100,
|
98 |
-
value="
|
99 |
url = "https://api-inference.huggingface.co/models/boun-tabi-LMG/TURNA"
|
100 |
params = {"length_penalty": length_penalty, "no_repeat_ngram_size": no_repeat_ngram_size, "max_new_tokens": max_new_tokens,
|
101 |
"do_sample":do_sample, "num_beams":num_beams, "repetition_penalty":repetition_penalty,
|
|
|
95 |
)
|
96 |
|
97 |
input_text = st.text_area(label='Enter a text: ', height=100,
|
98 |
+
value="Bir varmış, bir yokmuş, evvel zaman içinde, kalbur saman içinde, uzak diyarların birinde bir turna")
|
99 |
url = "https://api-inference.huggingface.co/models/boun-tabi-LMG/TURNA"
|
100 |
params = {"length_penalty": length_penalty, "no_repeat_ngram_size": no_repeat_ngram_size, "max_new_tokens": max_new_tokens,
|
101 |
"do_sample":do_sample, "num_beams":num_beams, "repetition_penalty":repetition_penalty,
|