Locutusque commited on
Commit
760514e
·
verified ·
1 Parent(s): 4e9884e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="How many planets are in our solar system?"),
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"),