Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -57,8 +57,8 @@ demo = gr.ChatInterface(
|
|
57 |
respond,
|
58 |
additional_inputs=[
|
59 |
gr.Dropdown(choices=models, value=models[0], label="モデル"),
|
60 |
-
gr.Textbox(value="
|
61 |
-
gr.Slider(minimum=1, maximum=2048, value=
|
62 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="温度"),
|
63 |
gr.Slider(
|
64 |
minimum=0.1,
|
@@ -68,7 +68,7 @@ demo = gr.ChatInterface(
|
|
68 |
label="Top-p (核 sampling)",
|
69 |
),
|
70 |
],
|
71 |
-
concurrency_limit=30 # 例: 同時に
|
72 |
)
|
73 |
|
74 |
if __name__ == "__main__":
|
|
|
57 |
respond,
|
58 |
additional_inputs=[
|
59 |
gr.Dropdown(choices=models, value=models[0], label="モデル"),
|
60 |
+
gr.Textbox(value="あなたはフレンドリーなチャットボットです。", label="システムメッセージ"),
|
61 |
+
gr.Slider(minimum=1, maximum=2048, value=768, step=1, label="新規トークン最大"),
|
62 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="温度"),
|
63 |
gr.Slider(
|
64 |
minimum=0.1,
|
|
|
68 |
label="Top-p (核 sampling)",
|
69 |
),
|
70 |
],
|
71 |
+
concurrency_limit=30 # 例: 同時に30つのリクエストを処理
|
72 |
)
|
73 |
|
74 |
if __name__ == "__main__":
|