add label for dec methode
Browse files
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",
|