Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,6 +58,7 @@ def generate(prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition
|
|
58 |
|
59 |
examples = [
|
60 |
"def hello_world():",
|
|
|
61 |
]
|
62 |
|
63 |
|
@@ -93,7 +94,7 @@ with gr.Blocks(theme=theme, analytics_enabled=False, css=css) as demo:
|
|
93 |
|
94 |
temperature = gr.Slider(
|
95 |
label="Temperature",
|
96 |
-
value=0.
|
97 |
minimum=0.0,
|
98 |
maximum=2.0,
|
99 |
step=0.1,
|
|
|
58 |
|
59 |
examples = [
|
60 |
"def hello_world():",
|
61 |
+
"def fibonacci(n):"
|
62 |
]
|
63 |
|
64 |
|
|
|
94 |
|
95 |
temperature = gr.Slider(
|
96 |
label="Temperature",
|
97 |
+
value=0.2,
|
98 |
minimum=0.0,
|
99 |
maximum=2.0,
|
100 |
step=0.1,
|