Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,11 +15,11 @@ tts_processor = SpeechT5Processor.from_pretrained(checkpoint)
|
|
15 |
tts_model = SpeechT5ForTextToSpeech.from_pretrained(checkpoint)
|
16 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
17 |
|
18 |
-
ic_processor = AutoProcessor.from_pretrained("microsoft/git-base")
|
19 |
-
ic_model = AutoModelForCausalLM.from_pretrained("microsoft/git-base")
|
20 |
|
21 |
-
|
22 |
-
|
23 |
|
24 |
def tts(text):
|
25 |
if len(text.strip()) == 0:
|
|
|
15 |
tts_model = SpeechT5ForTextToSpeech.from_pretrained(checkpoint)
|
16 |
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
|
17 |
|
18 |
+
# ic_processor = AutoProcessor.from_pretrained("microsoft/git-base")
|
19 |
+
# ic_model = AutoModelForCausalLM.from_pretrained("microsoft/git-base")
|
20 |
|
21 |
+
ic_processor = AutoProcessor.from_pretrained("ronniet/git-base-env")
|
22 |
+
ic_model = AutoModelForCausalLM.from_pretrained("ronniet/git-base-env")
|
23 |
|
24 |
def tts(text):
|
25 |
if len(text.strip()) == 0:
|