OpceanAI commited on
Commit
b664dbd
·
verified ·
1 Parent(s): 45fb988

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -647,9 +647,9 @@ def chat_completions(body: ChatCompletionRequest, request: fastapi.Request) -> d
647
  BUSY_JS = """(text, num_candidates, structured_fallback, md, source, status, details, dl) => {
648
  const n = Number(num_candidates) || 1;
649
  const label = n > 1 ? 'PASITA ' + n + ' SAMPLES / RERANK' : 'PASITA SAMPLE / RERANK';
650
- return ['_Converting…_', '',
651
  '<div class="p-status busy"><span class="p-dot"></span><span class="p-text">CONVERTING</span><span class="p-detail">' + label + '</span></div>',
652
- '_Checking drafts…_', null];
653
  }"""
654
 
655
  COUNTER_JS = """(text) => {
 
647
  BUSY_JS = """(text, num_candidates, structured_fallback, md, source, status, details, dl) => {
648
  const n = Number(num_candidates) || 1;
649
  const label = n > 1 ? 'PASITA ' + n + ' SAMPLES / RERANK' : 'PASITA SAMPLE / RERANK';
650
+ return ['Converting…', '',
651
  '<div class="p-status busy"><span class="p-dot"></span><span class="p-text">CONVERTING</span><span class="p-detail">' + label + '</span></div>',
652
+ 'Checking drafts…', null];
653
  }"""
654
 
655
  COUNTER_JS = """(text) => {