kemuriririn commited on
Commit
8668d55
·
1 Parent(s): b6ca400

update model names

Browse files
Files changed (3) hide show
  1. init_sentences.txt +38 -46
  2. models.py +2 -2
  3. tts.py +3 -3
init_sentences.txt CHANGED
@@ -1,5 +1,11 @@
1
- The youth drove with zest, but little skill.
2
- The young girl gave no clear response.
 
 
 
 
 
 
3
  Four hours of steady work faced us.
4
  A large size in stockings is hard to sell.
5
  The boy was there when the sun rose.
@@ -12,47 +18,33 @@ Smoky fires lack flame and heat.
12
  The soft cushion broke the man's fall.
13
  The salt breeze came across from the sea.
14
  The girl at the booth sold fifty bonds.
15
- The small pup gnawed a hole in the sock.
16
- The fish twisted and turned on the bent hook.
17
- Press the pants and sew a button on the vest.
18
- The swan dive was far short of perfect.
19
- The beauty of the view stunned the young boy.
20
- Two blue fish swam in the tank.
21
- The colt reared and threw the tall rider.
22
- It snowed, rained, and hailed the same morning.
23
- Read verse out loud for pleasure.
24
- Hoist the load to your left shoulder.
25
- Take the winding path to reach the lake.
26
- Note closely the size of the gas tank.
27
- Mend the coat before you go out.
28
- The wrist was badly strained and hung limp.
29
- The stray cat gave birth to kittens.
30
- Five years he lived with a shaggy dog, finding companionship and solace in its unwavering loyalty.
31
- The bank pressed for payment of the debt, a relentless pursuit that caused great stress.
32
- The theft of the pearl pin was kept secret, a dark secret that could ruin lives.
33
- "Shake hands with this friendly child," she said, her voice filled with warmth.
34
- The vast space stretched into the far distance, a breathtaking view that inspired awe and wonder.
35
- A rich farm is rare in this sandy waste, a testament to the hard work and dedication of the farmers.
36
- His wide grin earned many friends, a genuine expression of happiness and goodwill.
37
- Both lost their lives in the raging storm, a tragic loss of life.
38
- We talked of the side show in the circus, a fun and exciting experience.
39
- Use a pencil to write the first draft, a way to get our ideas down on paper.
40
- He ran half way to the hardware store, a quick errand to pick up supplies.
41
- The clock struck to mark the third period, a signal that the game was about to end.
42
- A small creek cut across the field, a natural boundary that divided the land.
43
- Cars and busses stalled in snow drifts, a winter wonderland turned into a traffic nightmare.
44
- The set of china hit the floor with a crash, a clumsy accident that resulted in broken dishes.
45
- A pound of sugar costs more than eggs, a comparison of prices.
46
- The fin was sharp and cut the clear water, a powerful swimmer in its natural habitat.
47
- Bail the boat to stop it from sinking, a desperate attempt to save the vessel.
48
- The term ended in late June that year, a time for celebration and relaxation.
49
- A tusk is used to make costly gifts, a valuable material that is used for art and decoration.
50
- A pencil with black lead writes best, a simple tool that has been used for centuries.
51
- Coax a young calf to drink from a bucket, a gentle act of kindness and care.
52
- Schools for ladies teach charm and grace, preparing young women for their roles in society.
53
- The lamp shone with a steady green flame, casting an eerie glow on the room.
54
- They took the axe and the saw to the forest, ready to harvest the timber.
55
- "Add salt before you fry the egg," she said, her voice filled with kindness and patience.
56
- The rush for funds reached its peak Tuesday, a frantic scramble for resources.
57
- The birch looked stark white and lonesome, a solitary figure against the winter landscape.
58
- Neat plans fail without luck, a reminder that success is not always guaranteed.
 
1
+ The birch canoe slid on the smooth planks.
2
+ Glue the sheet to the dark blue background.
3
+ It's easy to tell the depth of a well.
4
+ These days a chicken leg is a rare dish.
5
+ Rice is often served in round bowls.
6
+ The juice of lemons makes fine punch.
7
+ The box was thrown beside the parked truck.
8
+ The hogs were fed chopped corn and garbage.
9
  Four hours of steady work faced us.
10
  A large size in stockings is hard to sell.
11
  The boy was there when the sun rose.
 
18
  The soft cushion broke the man's fall.
19
  The salt breeze came across from the sea.
20
  The girl at the booth sold fifty bonds.
21
+ The old woman sighed, The long journey home took a year, and I miss it every day.
22
+ She whispered, I saw a cat in the neighbor's house, just like the one I used to have.
23
+ A little girl exclaimed, A pink shell was found on the sandy beach! It's the prettiest one ever!
24
+ Small children came to see him, their faces alight with innocent joy.
25
+ The grass and bushes were wet with dew, a silent testament to the night's gentle weeping.
26
+ The blind man counted his old coins, each one a memory he could still touch.
27
+ A severe storm tore down the barn, leaving behind a wreckage of shattered dreams.
28
+ She called his name many times, her voice cracking with a desperate hope.
29
+ When you hear the bell, come quickly, he urged, his voice laced with urgency. It might be important.
30
+ The bills were mailed promptly on the tenth of the month, a small victory in the face of mounting debt.
31
+ To have is better than to wait and hope, she declared, her eyes gleaming with fierce determination.
32
+ The price is fair for a good antique clock, a timeless piece that whispers stories of the past.
33
+ The music played on while they talked, a soothing balm to their troubled souls.
34
+ Dispense with a vest on a day like this, he chuckled, wiping sweat from his brow, it's hotter than blazes!
35
+ The bunch of grapes was pressed into wine, a transformation from simple fruit to intoxicating pleasure.
36
+ He sent the figs, but kept the ripe cherries, a selfish act that betrayed his true nature.
37
+ The hinge on the door creaked with old age, a mournful sound that echoed through the empty house.
38
+ The screen before the fire kept in the sparks, a fragile barrier against the encroaching darkness.
39
+ Fly by night, and you waste little time, the smuggler hissed, his eyes darting nervously.
40
+ Thick glasses helped him read the print, allowing him to lose himself in worlds beyond his own.
41
+ Birth and death mark the limits of life, a poignant reminder of our fleeting existence.
42
+ The chair looked strong but had no bottom, a cruel deception that mirrored his own broken promises.
43
+ The kite flew wildly in the high wind, a symbol of freedom dancing against a stormy sky.
44
+ A fur muff is stylish once more, a touch of elegance in a world growing increasingly coarse.
45
+ The tin box held priceless stones, each one a glittering fragment of a forgotten empire.
46
+ We need an end of all such matter, she pleaded, her voice trembling with exhaustion. Please, no more.
47
+ The case was puzzling to the old and wise, a labyrinth of secrets that defied understanding.
48
+ We don't get much money but we have fun, they sang, their voices rising in defiant joy.
49
+ The youth drove with zest, but little skill, a dangerous combination that promised disaster.
50
+ Five years he lived with a shaggy dog, finding solace in the unwavering loyalty of his furry companion.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
models.py CHANGED
@@ -428,8 +428,8 @@ def insert_initial_models():
428
  model_url="https://github.com/FunAudioLLM/CosyVoice",
429
  ),
430
  Model(
431
- id="gpt-sovits-v2",
432
- name="GPT-SoVITS v2",
433
  model_type=ModelType.TTS,
434
  is_open=True,
435
  model_url="https://huggingface.co/spaces/lj1995/GPT-SoVITS-v2",
 
428
  model_url="https://github.com/FunAudioLLM/CosyVoice",
429
  ),
430
  Model(
431
+ id="gpt-sovits-v2-pro-plus",
432
+ name="GPT-SoVITS v2 Pro Plus",
433
  model_type=ModelType.TTS,
434
  is_open=True,
435
  model_url="https://huggingface.co/spaces/lj1995/GPT-SoVITS-v2",
tts.py CHANGED
@@ -34,9 +34,9 @@ model_mapping = {
34
  "provider": "amphion",
35
  "model": "maskgct",
36
  },
37
- "gpt-sovits-v2": {
38
  "provider": "gpt-sovits",
39
- "model": "gpt-sovits-v2",
40
  },
41
  }
42
  url = "https://tts-agi-tts-router-v2.hf.space/tts"
@@ -181,7 +181,7 @@ def predict_tts(text, model, user_token=None, reference_audio_path=None):
181
  result = predict_cosyvoice_tts(text, user_token,reference_audio_path)
182
  elif model == "maskgct":
183
  result = predict_maskgct(text, user_token,reference_audio_path)
184
- elif model == "gpt-sovits-v2":
185
  result = predict_gpt_sovits_v2(text, user_token, reference_audio_path)
186
  else:
187
  raise ValueError(f"Model {model} not found")
 
34
  "provider": "amphion",
35
  "model": "maskgct",
36
  },
37
+ "gpt-sovits-v2-pro-plus": {
38
  "provider": "gpt-sovits",
39
+ "model": "gpt-sovits-v2-pro-plus",
40
  },
41
  }
42
  url = "https://tts-agi-tts-router-v2.hf.space/tts"
 
181
  result = predict_cosyvoice_tts(text, user_token,reference_audio_path)
182
  elif model == "maskgct":
183
  result = predict_maskgct(text, user_token,reference_audio_path)
184
+ elif model == "gpt-sovits-v2-pro-plus":
185
  result = predict_gpt_sovits_v2(text, user_token, reference_audio_path)
186
  else:
187
  raise ValueError(f"Model {model} not found")