cdminix commited on
Commit
1dc6e14
·
verified ·
1 Parent(s): c37859e

Update f5-tts space

Browse files
Files changed (5) hide show
  1. .gitattributes +1 -0
  2. Dockerfile +2 -2
  3. README.md +1 -1
  4. app.py +4 -4
  5. examples/ref_eng.wav +3 -0
.gitattributes CHANGED
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  examples/ref_eng.mp3 filter=lfs diff=lfs merge=lfs -text
37
  examples/ref_zho.wav filter=lfs diff=lfs merge=lfs -text
 
 
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  examples/ref_eng.mp3 filter=lfs diff=lfs merge=lfs -text
37
  examples/ref_zho.wav filter=lfs diff=lfs merge=lfs -text
38
+ examples/ref_eng.wav filter=lfs diff=lfs merge=lfs -text
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- # Generated at 2026-02-01T17:15:54Z from templates/space/Dockerfile.j2
2
  #
3
  # F5-TTS HuggingFace Space - Dockerfile
4
  # Uses Docker SDK for more control over dependencies and environment
@@ -30,7 +30,7 @@ RUN pip install --no-cache-dir --upgrade pip
30
  RUN pip install --no-cache-dir torch torchaudio --index-url https://download.pytorch.org/whl/cpu
31
 
32
  # Install the external PyPI package (if specified) and the ttsdb wrapper from PyPI
33
- RUN pip install --no-cache-dir ttsdb_f5_tts==0.1.3
34
 
35
  # Install Gradio
36
  RUN pip install --no-cache-dir gradio>=5.15.0
 
1
+ # Generated at 2026-02-02T08:59:59Z from templates/space/Dockerfile.j2
2
  #
3
  # F5-TTS HuggingFace Space - Dockerfile
4
  # Uses Docker SDK for more control over dependencies and environment
 
30
  RUN pip install --no-cache-dir torch torchaudio --index-url https://download.pytorch.org/whl/cpu
31
 
32
  # Install the external PyPI package (if specified) and the ttsdb wrapper from PyPI
33
+ RUN pip install --no-cache-dir ttsdb_f5_tts==0.1.4
34
 
35
  # Install Gradio
36
  RUN pip install --no-cache-dir gradio>=5.15.0
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- # Generated at 2026-02-01T17:15:54Z from templates/space/README.md.j2
3
  title: F5-TTS
4
  emoji: 🎤
5
  colorFrom: blue
 
1
  ---
2
+ # Generated at 2026-02-02T08:59:59Z from templates/space/README.md.j2
3
  title: F5-TTS
4
  emoji: 🎤
5
  colorFrom: blue
app.py CHANGED
@@ -1,6 +1,6 @@
1
  """F5-TTS - HuggingFace Space Demo
2
 
3
- Generated at 2026-02-01T17:15:54Z from templates/space/app.py.j2.
4
 
5
  A Gradio interface for F5-TTS text-to-speech synthesis.
6
  """
@@ -152,11 +152,11 @@ with gr.Blocks(title="F5-TTS TTS") as demo:
152
  _runtime_examples = []
153
 
154
 
155
- _rel = Path("examples/ref_eng.mp3")
156
  _src = Path(__file__).parent / _rel
157
  if _src.exists():
158
 
159
- _runtime_examples.append([_src, "Were the leaders in this luckless change, though our own Baskerville, who was at work some years before them, went much on the same lines.", "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", "eng", DEFAULT_VARIANT or AVAILABLE_VARIANTS[0]])
160
 
161
 
162
 
@@ -165,7 +165,7 @@ with gr.Blocks(title="F5-TTS TTS") as demo:
165
  _src = Path(__file__).parent / _rel
166
  if _src.exists():
167
 
168
- _runtime_examples.append([_src, "對,這就萬人敬仰太乙真人。雖然有點嬰兒肥但也掩不住我,逼人的帥氣。", "视野无限广窗外有蓝天。", "zho", DEFAULT_VARIANT or AVAILABLE_VARIANTS[0]])
169
 
170
 
171
 
 
1
  """F5-TTS - HuggingFace Space Demo
2
 
3
+ Generated at 2026-02-02T08:59:59Z from templates/space/app.py.j2.
4
 
5
  A Gradio interface for F5-TTS text-to-speech synthesis.
6
  """
 
152
  _runtime_examples = []
153
 
154
 
155
+ _rel = Path("examples/ref_eng.wav")
156
  _src = Path(__file__).parent / _rel
157
  if _src.exists():
158
 
159
+ _runtime_examples.append([_src, "This is Learning English from the News, our podcast about the news headlines.", "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", "eng", DEFAULT_VARIANT or AVAILABLE_VARIANTS[0]])
160
 
161
 
162
 
 
165
  _src = Path(__file__).parent / _rel
166
  if _src.exists():
167
 
168
+ _runtime_examples.append([_src, "中国企业的第一个大语言模型文心一言百度推出了ERNIE 5.0,千帆4.0所以一个由中国公司构建的工智能基础设施系统。", "在大學實驗室裡教授寫了一篇滑稽論文,卻把咖啡灑在筆記上。", "zho", DEFAULT_VARIANT or AVAILABLE_VARIANTS[0]])
169
 
170
 
171
 
examples/ref_eng.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:878644248c220649f402cdb06a2f7c294f044d854bd06bde9f6f72f62055cdb6
3
+ size 454308