Lyte commited on
Commit
fe7937e
·
verified ·
1 Parent(s): b121117

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -9,18 +9,18 @@ from outetts.version.v2.prompt_processor import PromptProcessor
9
  from outetts.version.playback import ModelOutput
10
 
11
  model_path = hf_hub_download(
12
- repo_id="KandirResearch/CiSiMi",
13
  filename="unsloth.Q8_0.gguf", # unsloth.Q4_K_M.gguf
14
  )
15
 
16
  model_config = outetts.GGUFModelConfig_v2(
17
  model_path=model_path,
18
- tokenizer_path="KandirResearch/CiSiMi",
19
  )
20
 
21
  interface = outetts.InterfaceGGUF(model_version="0.3", cfg=model_config)
22
  audio_codec = AudioCodec()
23
- prompt_processor = PromptProcessor("KandirResearch/CiSiMi")
24
  whisper_model = whisper.load_model("base.en")
25
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
26
  gguf_model = interface.get_model()
@@ -119,7 +119,7 @@ iface = gr.Interface(
119
  gr.Textbox(label="Response Text"),
120
  gr.Audio(type="numpy", label="Generated Speech")
121
  ],
122
- title="CiSiMi @ Home Demo",
123
  description="Me: Mom can we have CSM locally! Mom: we have CSM locally. CSM locally:",
124
  examples=[
125
  [None, "Hello, what are you capable of?"],
 
9
  from outetts.version.playback import ModelOutput
10
 
11
  model_path = hf_hub_download(
12
+ repo_id="KandirResearch/CiSiMi-v0.1",
13
  filename="unsloth.Q8_0.gguf", # unsloth.Q4_K_M.gguf
14
  )
15
 
16
  model_config = outetts.GGUFModelConfig_v2(
17
  model_path=model_path,
18
+ tokenizer_path="KandirResearch/CiSiMi-v0.1",
19
  )
20
 
21
  interface = outetts.InterfaceGGUF(model_version="0.3", cfg=model_config)
22
  audio_codec = AudioCodec()
23
+ prompt_processor = PromptProcessor("KandirResearch/CiSiMi-v0.1")
24
  whisper_model = whisper.load_model("base.en")
25
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
26
  gguf_model = interface.get_model()
 
119
  gr.Textbox(label="Response Text"),
120
  gr.Audio(type="numpy", label="Generated Speech")
121
  ],
122
+ title="CiSiMi-v0.1 @ Home Demo",
123
  description="Me: Mom can we have CSM locally! Mom: we have CSM locally. CSM locally:",
124
  examples=[
125
  [None, "Hello, what are you capable of?"],