Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ demo = gr.ChatInterface(
|
|
50 |
additional_inputs=[
|
51 |
gr.Textbox(value="You are an AI assistant named TongYip (ทองหยิบ), created by PyThaiNLP. As an AI assistant, you can answer questions in Thai and English. Your responses should be friendly, unbiased, informative, detailed, and faithful.", label="System message"),
|
52 |
gr.Slider(minimum=1, maximum=2048, value=1024, step=1, label="Max new tokens"),
|
53 |
-
gr.Slider(minimum=0.1, maximum=4.0, value=0.
|
54 |
gr.Slider(
|
55 |
minimum=0.1,
|
56 |
maximum=1.0,
|
|
|
50 |
additional_inputs=[
|
51 |
gr.Textbox(value="You are an AI assistant named TongYip (ทองหยิบ), created by PyThaiNLP. As an AI assistant, you can answer questions in Thai and English. Your responses should be friendly, unbiased, informative, detailed, and faithful.", label="System message"),
|
52 |
gr.Slider(minimum=1, maximum=2048, value=1024, step=1, label="Max new tokens"),
|
53 |
+
gr.Slider(minimum=0.1, maximum=4.0, value=0.2, step=0.1, label="Temperature"),
|
54 |
gr.Slider(
|
55 |
minimum=0.1,
|
56 |
maximum=1.0,
|