Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import gradio as gr
|
|
| 2 |
import numpy as np
|
| 3 |
import torch
|
| 4 |
import math
|
|
|
|
| 5 |
from Preprocessing.ArticulatoryCombinedTextFrontend import ArticulatoryCombinedTextFrontend
|
| 6 |
from TrainingInterfaces.Text_to_Spectrogram.AutoAligner.Aligner import Aligner
|
| 7 |
from TrainingInterfaces.Text_to_Spectrogram.FastSpeech2.DurationCalculator import DurationCalculator
|
|
@@ -200,6 +201,6 @@ iface = gr.Interface(fn=poem_model.read,
|
|
| 200 |
theme="default",
|
| 201 |
allow_flagging="never",
|
| 202 |
allow_screenshot=False,
|
| 203 |
-
description="Customize how a poem is read by a text-to-speech system with intuitive high-level controls. You can control markers
|
| 204 |
article=article)
|
| 205 |
iface.launch(enable_queue=True)
|
|
|
|
| 2 |
import numpy as np
|
| 3 |
import torch
|
| 4 |
import math
|
| 5 |
+
import os
|
| 6 |
from Preprocessing.ArticulatoryCombinedTextFrontend import ArticulatoryCombinedTextFrontend
|
| 7 |
from TrainingInterfaces.Text_to_Spectrogram.AutoAligner.Aligner import Aligner
|
| 8 |
from TrainingInterfaces.Text_to_Spectrogram.FastSpeech2.DurationCalculator import DurationCalculator
|
|
|
|
| 201 |
theme="default",
|
| 202 |
allow_flagging="never",
|
| 203 |
allow_screenshot=False,
|
| 204 |
+
description="Customize how a poem is read by a text-to-speech system with intuitive high-level controls. You can control phrasing markers to go from prose style syntactic phrasing to verse aware poetry style phrasing with the sliders below.",
|
| 205 |
article=article)
|
| 206 |
iface.launch(enable_queue=True)
|