Skip to content

Commit

Permalink
tts : minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Dec 18, 2024
1 parent 29df666 commit a95191c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/tts/tts-outetts.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys
import json
import struct
#import json
#import struct
import requests
import re

Expand Down Expand Up @@ -162,7 +162,7 @@ def process_text(text: str):
#print(json.dumps(response_json, indent=4))

# spectrogram
embd = response_json["data"][0]["embedding"]
embd = response_json[0]["embedding"]

n_codes = len(embd)
n_embd = len(embd[0])
Expand Down

0 comments on commit a95191c

Please sign in to comment.