baicai1145 commited on
Commit
f5e8d32
1 Parent(s): a15256b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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=35,
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
  )