lijiacai commited on
Commit
0e4030e
1 Parent(s): 08ab052

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -2,34 +2,34 @@ import streamlit as st
2
  from streamlit_option_menu import option_menu
3
 
4
  menu = {
5
- "对话-GPU版ChatGLM-6B":
6
  {
7
  "link": "https://sdshq-chatglm2-6b-demo.hf.space/",
8
  "desc": "",
9
  "author": "sdshq"
10
  },
11
- "对话-GPU版ChatGPT-web":
12
  {
13
  "link": "https://lijiacai-chatgpt-next-web.hf.space/",
14
  "desc": "模型ChatGLM-6B,接口兼容openai API,可实现流式在线对话"
15
  },
16
- "绘图-图像反推关键词":
17
  {
18
  "link": "https://lijiacai-wd14-tagging-online.hf.space/",
19
  "desc": ""
20
  },
21
- "绘图-Stable Diffusion 2.1":
22
  {
23
  "link": "https://lijiacai-stable-diffusion-2-1-demo.hf.space/",
24
  "desc": ""
25
  },
26
- "绘图-Stable Diffusion 2.1 stabilityai":
27
  {
28
  "link": "https://stabilityai-stable-diffusion.hf.space",
29
  "desc": "",
30
  "author": "stabilityai"
31
  },
32
- "Openai代理接口文档":
33
  {
34
  "link": "https://lijiacai-openai-agent.hf.space/docs",
35
  "desc": ""
@@ -42,8 +42,6 @@ with st.sidebar:
42
  selected = option_menu("工具栏", options=list(menu.keys()),
43
  icons=None, menu_icon="cast", default_index=1)
44
 
45
- print(selected)
46
-
47
  nav_link = menu.get(selected).get("link")
48
  author = menu.get(selected).get("author", "lijiacai")
49
 
 
2
  from streamlit_option_menu import option_menu
3
 
4
  menu = {
5
+ "对话-GPU版ChatGLM-6B by@sdshq":
6
  {
7
  "link": "https://sdshq-chatglm2-6b-demo.hf.space/",
8
  "desc": "",
9
  "author": "sdshq"
10
  },
11
+ "对话-GPU版ChatGPT-web by@lijiacai":
12
  {
13
  "link": "https://lijiacai-chatgpt-next-web.hf.space/",
14
  "desc": "模型ChatGLM-6B,接口兼容openai API,可实现流式在线对话"
15
  },
16
+ "绘图-图像反推关键词 by@lijiacai":
17
  {
18
  "link": "https://lijiacai-wd14-tagging-online.hf.space/",
19
  "desc": ""
20
  },
21
+ "绘图-Stable Diffusion 2.1 by@lijiacai":
22
  {
23
  "link": "https://lijiacai-stable-diffusion-2-1-demo.hf.space/",
24
  "desc": ""
25
  },
26
+ "绘图-Stable Diffusion 2.1 by@stabilityai":
27
  {
28
  "link": "https://stabilityai-stable-diffusion.hf.space",
29
  "desc": "",
30
  "author": "stabilityai"
31
  },
32
+ "Openai代理接口文档 by@lijiacai":
33
  {
34
  "link": "https://lijiacai-openai-agent.hf.space/docs",
35
  "desc": ""
 
42
  selected = option_menu("工具栏", options=list(menu.keys()),
43
  icons=None, menu_icon="cast", default_index=1)
44
 
 
 
45
  nav_link = menu.get(selected).get("link")
46
  author = menu.get(selected).get("author", "lijiacai")
47