Spaces:
Sleeping
Sleeping
baicai1145
commited on
Commit
•
f5e8d32
1
Parent(s):
a15256b
Update app.py
Browse files
app.py
CHANGED
@@ -238,7 +238,7 @@ default_endpoint_data = """{
|
|
238 |
"save_temp": "False"
|
239 |
}
|
240 |
}"""
|
241 |
-
default_text = i18n("
|
242 |
|
243 |
|
244 |
information = ""
|
@@ -305,9 +305,9 @@ with gr.Blocks() as app:
|
|
305 |
)
|
306 |
batch_size = gr.Slider(
|
307 |
minimum=1,
|
308 |
-
maximum=
|
309 |
value=default_batch_size,
|
310 |
-
label=i18n("batch_size,1
|
311 |
step=1,
|
312 |
visible=not is_classic,
|
313 |
)
|
|
|
238 |
"save_temp": "False"
|
239 |
}
|
240 |
}"""
|
241 |
+
default_text = i18n("在线推理很慢,有显卡的建议下载模型本地推理。")
|
242 |
|
243 |
|
244 |
information = ""
|
|
|
305 |
)
|
306 |
batch_size = gr.Slider(
|
307 |
minimum=1,
|
308 |
+
maximum=20,
|
309 |
value=default_batch_size,
|
310 |
+
label=i18n("batch_size,1代表不并行,默认就好,调大了也不会变快"),
|
311 |
step=1,
|
312 |
visible=not is_classic,
|
313 |
)
|