Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -31,12 +31,12 @@ max_results = 3
|
|
31 |
min_len = 40
|
32 |
min_distance = 0.35
|
33 |
max_distance = 0.6
|
34 |
-
temperature = 0.
|
35 |
max_tokens=5100
|
36 |
-
top_p=0.
|
37 |
top_k=1000
|
38 |
frequency_penalty=0.0
|
39 |
-
repetition_penalty=1.
|
40 |
presence_penalty=0.15
|
41 |
jezik = "srpski"
|
42 |
cs = "s0"
|
@@ -179,7 +179,7 @@ with gr.Blocks() as iface:
|
|
179 |
["EON daljinski upravljalnik mi ne deluje, kaj naj naredim?", "slovenski", None],
|
180 |
["Не ради ми кабловски пријем, шта да радим?", "makedonski", None],
|
181 |
],
|
182 |
-
cache_examples=
|
183 |
retry_btn=None,
|
184 |
undo_btn=None,
|
185 |
clear_btn="Briši sve - razgovor ispočetka",
|
|
|
31 |
min_len = 40
|
32 |
min_distance = 0.35
|
33 |
max_distance = 0.6
|
34 |
+
temperature = 0.65
|
35 |
max_tokens=5100
|
36 |
+
top_p=0.9
|
37 |
top_k=1000
|
38 |
frequency_penalty=0.0
|
39 |
+
repetition_penalty=1.1
|
40 |
presence_penalty=0.15
|
41 |
jezik = "srpski"
|
42 |
cs = "s0"
|
|
|
179 |
["EON daljinski upravljalnik mi ne deluje, kaj naj naredim?", "slovenski", None],
|
180 |
["Не ради ми кабловски пријем, шта да радим?", "makedonski", None],
|
181 |
],
|
182 |
+
cache_examples=False,
|
183 |
retry_btn=None,
|
184 |
undo_btn=None,
|
185 |
clear_btn="Briši sve - razgovor ispočetka",
|