LeroyDyer commited on
Commit
0a0ba4b
·
verified ·
1 Parent(s): 3debb66

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -28,21 +28,20 @@ from time import time
28
 
29
  hf_token: gr.OAuthToken = {"scope" :"","token" : "str","expires_at" : 6062026}
30
  #############################################################
31
- BASE_URL="http://localhost:1234/v1"
32
- BASE_API_KEY="not-needed"
 
33
  BASE_CLIENT = AsyncOpenAI(
34
  base_url=BASE_URL,
35
  api_key=BASE_API_KEY
36
  ) # Global state for client
37
- BASEMODEL_ID = "leroydyer/qwen/qwen3-0.6b-q4_k_m.gguf" # Global state for selected model ID
38
  CLIENT =OpenAI(
39
  base_url=BASE_URL,
40
  api_key=BASE_API_KEY
41
  ) # Global state for client
42
  console= Console()
43
- CLIENT = InferenceClient(token=hf_token, model="openai/gpt-oss-20b")
44
- BASE_CLIENT = AsyncInferenceClient (token=hf_token, model="openai/gpt-oss-20b")
45
- BASEMODEL_ID = "openai/gpt-oss-20b"
46
  class CONFIG:
47
 
48
  def __init__(self):
 
28
 
29
  hf_token: gr.OAuthToken = {"scope" :"","token" : "str","expires_at" : 6062026}
30
  #############################################################
31
+ BASE_URL="https://api.deepseek.com/v1"
32
+ #crwate mock
33
+ BASE_API_KEY="sk-ab7bbbc9856140d689ba19a0e90de88b"
34
  BASE_CLIENT = AsyncOpenAI(
35
  base_url=BASE_URL,
36
  api_key=BASE_API_KEY
37
  ) # Global state for client
38
+ BASEMODEL_ID = "deepseek-chat" # Global state for selected model ID
39
  CLIENT =OpenAI(
40
  base_url=BASE_URL,
41
  api_key=BASE_API_KEY
42
  ) # Global state for client
43
  console= Console()
44
+
 
 
45
  class CONFIG:
46
 
47
  def __init__(self):