Spaces:
Runtime error
Runtime error
code update
Browse files
app.py
CHANGED
@@ -24,14 +24,14 @@ GEMMA_WORD_PATTERNS = [
|
|
24 |
]
|
25 |
|
26 |
configs = {
|
|
|
|
|
27 |
"generation_config": {
|
28 |
"max_output_tokens": 256,
|
29 |
"temperature": 1,
|
30 |
"top_p": 1,
|
31 |
"top_k": 32,
|
32 |
},
|
33 |
-
"os_model": "google/gemma-2b-it",
|
34 |
-
"device": "cpu",
|
35 |
}
|
36 |
|
37 |
|
|
|
24 |
]
|
25 |
|
26 |
configs = {
|
27 |
+
"os_model": "google/gemma-2b-it",
|
28 |
+
"device": "cpu",
|
29 |
"generation_config": {
|
30 |
"max_output_tokens": 256,
|
31 |
"temperature": 1,
|
32 |
"top_p": 1,
|
33 |
"top_k": 32,
|
34 |
},
|
|
|
|
|
35 |
}
|
36 |
|
37 |
|