Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,9 +34,6 @@ def on_press(key):
|
|
34 |
**inputs, voice=voice, speed=speed, pitch=pitch
|
35 |
)
|
36 |
|
37 |
-
# Decode tokens to text (for debugging purposes)
|
38 |
-
# decoded_text = feature_extractor.decode(generation, skip_special_tokens=True)
|
39 |
-
|
40 |
# Convert generated tokens to audio waveform
|
41 |
audio_output = model.to_audio(generation)
|
42 |
|
@@ -46,7 +43,6 @@ def on_press(key):
|
|
46 |
|
47 |
|
48 |
# Streamlit App
|
49 |
-
|
50 |
st.title("Text-to-Speech Keystroke Announcer")
|
51 |
|
52 |
# User Interface for customization options
|
|
|
34 |
**inputs, voice=voice, speed=speed, pitch=pitch
|
35 |
)
|
36 |
|
|
|
|
|
|
|
37 |
# Convert generated tokens to audio waveform
|
38 |
audio_output = model.to_audio(generation)
|
39 |
|
|
|
43 |
|
44 |
|
45 |
# Streamlit App
|
|
|
46 |
st.title("Text-to-Speech Keystroke Announcer")
|
47 |
|
48 |
# User Interface for customization options
|