jzhang533 commited on
Commit
3608e2a
·
1 Parent(s): 788c6d9

Signed-off-by: Zhang Jun <[email protected]>

Files changed (2) hide show
  1. README.md +2 -2
  2. app.py +2 -1
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Ernie X1 Demo
3
  emoji: 😻
4
  colorFrom: red
5
  colorTo: gray
@@ -8,7 +8,7 @@ sdk_version: 5.26.0
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
11
- short_description: BAIDU's LLM, https://yiyan.baidu.com/
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: ERNIE X1 Turbo Demo
3
  emoji: 😻
4
  colorFrom: red
5
  colorTo: gray
 
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
11
+ short_description: BAIDU's Reasoning LLM, https://yiyan.baidu.com/
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -6,7 +6,7 @@ title = "ERNIE X1 Turbo: BAIDU's Reasoning LLM"
6
  description = """
7
  - Official Website: <https://yiyan.baidu.com/> (UI in Chinese)
8
  - API services: [Qianfan Large Model Platform](https://cloud.baidu.com/product-s/qianfan_home) (cloud platform providing LLM services, UI in Chinese)
9
- - [ERNIE 4.5 Turbo Demo](https://huggingface.co/spaces/PaddlePaddle/ernie_demo) | [ERNIE X1 Turbo Demo](https://huggingface.co/spaces/PaddlePaddle/ernie_x1_demo)
10
  """
11
 
12
 
@@ -59,6 +59,7 @@ demo = gr.ChatInterface(
59
  title=title,
60
  description=description,
61
  type='messages',
 
62
  )
63
 
64
  if __name__ == "__main__":
 
6
  description = """
7
  - Official Website: <https://yiyan.baidu.com/> (UI in Chinese)
8
  - API services: [Qianfan Large Model Platform](https://cloud.baidu.com/product-s/qianfan_home) (cloud platform providing LLM services, UI in Chinese)
9
+ - [ERNIE 4.5 Turbo Demo](https://huggingface.co/spaces/PaddlePaddle/ernie_4.5_turbo_demo) | [ERNIE X1 Turbo Demo](https://huggingface.co/spaces/PaddlePaddle/ernie_x1_turbo_demo)
10
  """
11
 
12
 
 
59
  title=title,
60
  description=description,
61
  type='messages',
62
+ concurrency_limit=50
63
  )
64
 
65
  if __name__ == "__main__":