thomwolf HF staff commited on
Commit
fc231ba
·
1 Parent(s): 8835a4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -70,6 +70,7 @@ gr.Interface(
70
  gr.inputs.Textbox(label="Input"),
71
  gr.inputs.Slider(1, 64, default=32, step=1, label="Tokens to generate"),
72
  gr.inputs.Radio(["Sample", "Greedy"], label="Sample or greedy"),
 
73
  ],
74
  gr.outputs.Textbox(label="Output"),
75
  examples=examples,
 
70
  gr.inputs.Textbox(label="Input"),
71
  gr.inputs.Slider(1, 64, default=32, step=1, label="Tokens to generate"),
72
  gr.inputs.Radio(["Sample", "Greedy"], label="Sample or greedy"),
73
+ gr.inputs.Radio(["Sample 1", "Sample 2", "Sample 3"], label="Sample other generations", type="index"),
74
  ],
75
  gr.outputs.Textbox(label="Output"),
76
  examples=examples,