khulnasoft commited on
Commit
927d153
1 Parent(s): bada001

Update awesome_chat.py

Browse files
Files changed (1) hide show
  1. awesome_chat.py +1 -6
awesome_chat.py CHANGED
@@ -19,12 +19,7 @@ from diffusers.utils import load_image
19
  from pydub import AudioSegment
20
  import threading
21
  from queue import Queue
22
- from get_token_ids import (
23
- get_token_ids_for_task_parsing,
24
- get_token_ids_for_choose_model, # Make sure this matches the function name in get_token_ids.py
25
- count_tokens,
26
- get_max_context_length
27
- )
28
  from huggingface_hub.inference_api import InferenceApi
29
  from huggingface_hub.inference_api import ALL_TASKS
30
  from models_server import models, status
 
19
  from pydub import AudioSegment
20
  import threading
21
  from queue import Queue
22
+ from get_token_ids import get_token_ids_for_task_parsing, get_token_ids_for_choose_model, count_tokens, get_max_context_length
 
 
 
 
 
23
  from huggingface_hub.inference_api import InferenceApi
24
  from huggingface_hub.inference_api import ALL_TASKS
25
  from models_server import models, status