Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ g = gr.Interface(
|
|
| 29 |
fn=generate,
|
| 30 |
inputs=[
|
| 31 |
gr.components.Dropdown(choices=model_choices, label="Model", value=model_choices[0], interactive=True),
|
| 32 |
-
gr.components.Textbox(lines=2, label="Prompt", value="
|
| 33 |
gr.components.Slider(minimum=0, maximum=1, value=0.4, label="Temperature"),
|
| 34 |
gr.components.Slider(minimum=0, maximum=1, value=0.95, label="Top p"),
|
| 35 |
gr.components.Slider(minimum=0, maximum=100, step=1, value=50, label="Top k"),
|
|
|
|
| 29 |
fn=generate,
|
| 30 |
inputs=[
|
| 31 |
gr.components.Dropdown(choices=model_choices, label="Model", value=model_choices[0], interactive=True),
|
| 32 |
+
gr.components.Textbox(lines=2, label="Prompt", value="Write me a Python program that calculates the factorial of a given number."),
|
| 33 |
gr.components.Slider(minimum=0, maximum=1, value=0.4, label="Temperature"),
|
| 34 |
gr.components.Slider(minimum=0, maximum=1, value=0.95, label="Top p"),
|
| 35 |
gr.components.Slider(minimum=0, maximum=100, step=1, value=50, label="Top k"),
|