akhaliq HF Staff commited on
Commit
db0634f
1 Parent(s): c5f1976

Switch provider from :fastest to :novita

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. index.html +3 -3
app.py CHANGED
@@ -52,7 +52,7 @@ def chat(prompt: str, history_json: str, image_b64: str = "") -> str:
52
  default_headers={"X-HF-Bill-To": "huggingface"}
53
  )
54
  stream = oai.chat.completions.create(
55
- model="moonshotai/Kimi-K2.7-Code:fastest",
56
  messages=messages,
57
  stream=True,
58
  )
 
52
  default_headers={"X-HF-Bill-To": "huggingface"}
53
  )
54
  stream = oai.chat.completions.create(
55
+ model="moonshotai/Kimi-K2.7-Code:novita",
56
  messages=messages,
57
  stream=True,
58
  )
index.html CHANGED
@@ -633,7 +633,7 @@
633
  </svg>
634
  <div class="logo-info">
635
  <div class="logo-name">Kimi K2.7-Code</div>
636
- <div class="logo-sub">Moonshot AI 路 Fastest</div>
637
  </div>
638
  </div>
639
  <div class="header-right">
@@ -650,7 +650,7 @@
650
  <span class="tb-item" onclick="cmd('/history')">history</span>
651
  <span class="tb-item" onclick="cmd('/model')">model info</span>
652
  <div class="tb-sep"></div>
653
- <span class="tb-model">moonshotai/Kimi-K2.7-Code:fastest</span>
654
  </div>
655
 
656
  <!-- Chat area -->
@@ -773,7 +773,7 @@ window.cmd = function(c) {
773
  return;
774
  }
775
  if (c === "/model") {
776
- appendSys("model: moonshotai/Kimi-K2.7-Code:fastest");
777
  appendSys("host: https://router.huggingface.co/v1");
778
  appendSys("context: 128k tokens 路 multimodal: yes");
779
  return;
 
633
  </svg>
634
  <div class="logo-info">
635
  <div class="logo-name">Kimi K2.7-Code</div>
636
+ <div class="logo-sub">Moonshot AI 路 Novita</div>
637
  </div>
638
  </div>
639
  <div class="header-right">
 
650
  <span class="tb-item" onclick="cmd('/history')">history</span>
651
  <span class="tb-item" onclick="cmd('/model')">model info</span>
652
  <div class="tb-sep"></div>
653
+ <span class="tb-model">moonshotai/Kimi-K2.7-Code:novita</span>
654
  </div>
655
 
656
  <!-- Chat area -->
 
773
  return;
774
  }
775
  if (c === "/model") {
776
+ appendSys("model: moonshotai/Kimi-K2.7-Code:novita");
777
  appendSys("host: https://router.huggingface.co/v1");
778
  appendSys("context: 128k tokens 路 multimodal: yes");
779
  return;