danjung9 commited on
Commit
2d9fd1e
·
verified ·
1 Parent(s): bb1f3af

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +1 -2
config.py CHANGED
@@ -2,8 +2,7 @@ import os
2
  from modelscope_studio.components.pro.chatbot import ChatbotActionConfig, ChatbotBotConfig, ChatbotUserConfig, ChatbotWelcomeConfig
3
 
4
  # Env
5
- is_cn = os.getenv('MODELSCOPE_ENVIRONMENT') == 'studio'
6
- api_key = os.getenv('API_KEY')
7
  BASE_DIR = os.path.dirname(os.path.abspath(__file__))
8
  ASSETS_DIR = os.path.join(BASE_DIR, "assets")
9
  QWEN_LOGO_PATH = os.path.join(ASSETS_DIR, "requirementsassistant.png")
 
2
  from modelscope_studio.components.pro.chatbot import ChatbotActionConfig, ChatbotBotConfig, ChatbotUserConfig, ChatbotWelcomeConfig
3
 
4
  # Env
5
+ api_key = os.getenv('OPENROUTER_API_KEY')
 
6
  BASE_DIR = os.path.dirname(os.path.abspath(__file__))
7
  ASSETS_DIR = os.path.join(BASE_DIR, "assets")
8
  QWEN_LOGO_PATH = os.path.join(ASSETS_DIR, "requirementsassistant.png")