cahya commited on
Commit
07c107f
1 Parent(s): e55e013

add label for dec methode

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ with gr.Blocks() as demo:
49
  label="Ask me something in Indonesian or English",
50
  default="Bagaimana cara mendidik anak supaya tidak berbohong?")
51
  decoding_methods = gr.inputs.Dropdown(["Beam Search", "Sampling", "Contrastive Search"],
52
- default="Sampling")
53
  num_beams = gr.inputs.Slider(label="Number of beams for beam search",
54
  default=1, minimum=1, maximum=10, step=1)
55
  top_k = gr.inputs.Slider(label="Top K",
 
49
  label="Ask me something in Indonesian or English",
50
  default="Bagaimana cara mendidik anak supaya tidak berbohong?")
51
  decoding_methods = gr.inputs.Dropdown(["Beam Search", "Sampling", "Contrastive Search"],
52
+ default="Sampling", label="Decoding Method")
53
  num_beams = gr.inputs.Slider(label="Number of beams for beam search",
54
  default=1, minimum=1, maximum=10, step=1)
55
  top_k = gr.inputs.Slider(label="Top K",