VoiceCloning-be commited on
Commit
70f4066
β€’
1 Parent(s): e796ad0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +87 -13
app.py CHANGED
@@ -1,4 +1,46 @@
1
- import gradio
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  import gradio as gr
3
  import sys
4
  import os
@@ -68,23 +110,55 @@ import assets.themes.loadThemes as loadThemes
68
  my_applio = loadThemes.load_json() or "ParityError/Interstellar"
69
 
70
  # Define Gradio interface
71
- with gr.Blocks(theme=my_applio, title="Applio") as Applio:
72
  gr.Markdown("# Applio")
73
- gr.Markdown(
74
- i18n(
75
- "VITS-based Voice Conversion focused on simplicity, quality and performance."
76
- )
77
- )
78
- gr.Markdown(
79
- i18n(
80
- "[Support](https://discord.gg/IAHispano) β€” [Discord Bot](https://discord.com/oauth2/authorize?client_id=1144714449563955302&permissions=1376674695271&scope=bot%20applications.commands) β€” [Find Voices](https://applio.org/models) β€” [GitHub](https://github.com/IAHispano/Applio)"
81
- )
82
- )
83
  with gr.Tab(i18n("Train")):
84
- train_tab()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
 
86
  def launch_gradio():
87
  Applio.launch(share=True)
88
 
89
  if __name__ == "__main__":
90
  launch_gradio()
 
 
1
+ Hugging Face's logo
2
+ Hugging Face
3
+ Search models, datasets, users...
4
+ Models
5
+ Datasets
6
+ Spaces
7
+ Posts
8
+ Docs
9
+ Pricing
10
+
11
+
12
+
13
+ Spaces:
14
+
15
+ VoiceCloning-be
16
+ /
17
+ Applio-T4-Small
18
+
19
+ private
20
+
21
+ App
22
+ Files
23
+ Community
24
+ Settings
25
+ Applio-T4-Small
26
+ /
27
+ app.py
28
+
29
+ VoiceCloning-be's picture
30
+ VoiceCloning-be
31
+ v3.2.5
32
+ 63b5225
33
+ about 2 hours ago
34
+ raw
35
+
36
+ Copy download link
37
+ history
38
+ blame
39
+ edit
40
+ delete
41
+ No virus
42
+
43
+ 3.62 kB
44
  import gradio as gr
45
  import sys
46
  import os
 
110
  my_applio = loadThemes.load_json() or "ParityError/Interstellar"
111
 
112
  # Define Gradio interface
113
+ with gr.Blocks(theme=my_applio, title="Applio V3.2.5") as Applio:
114
  gr.Markdown("# Applio")
115
+
116
+ with gr.Tab(i18n("Inference")):
117
+ inference_tab()
118
+
 
 
 
 
 
 
119
  with gr.Tab(i18n("Train")):
120
+ if gpu_available() or load_fake_gpu():
121
+ train_tab()
122
+ else:
123
+ gr.Markdown(
124
+ i18n(
125
+ "Training is currently unsupported due to the absence of a GPU. To activate the training tab, navigate to the settings tab and enable the 'Fake GPU' option."
126
+ )
127
+ )
128
+
129
+ with gr.Tab(i18n("TTS")):
130
+ tts_tab()
131
+
132
+ with gr.Tab(i18n("Voice Blender")):
133
+ voice_blender_tab()
134
+
135
+ with gr.Tab(i18n("Plugins")):
136
+ plugins_tab()
137
+
138
+ with gr.Tab(i18n("Download")):
139
+ download_tab()
140
+
141
+ with gr.Tab(i18n("Report a Bug")):
142
+ report_tab()
143
+
144
+ with gr.Tab(i18n("Extra")):
145
+ extra_tab()
146
+
147
+ with gr.Tab(i18n("Settings")):
148
+ presence_tab()
149
+ flask_server_tab()
150
+ precision_tab()
151
+ if not gpu_available():
152
+ fake_gpu_tab()
153
+ theme_tab()
154
+ version_tab()
155
+ lang_tab()
156
+ restart_tab()
157
+
158
 
159
  def launch_gradio():
160
  Applio.launch(share=True)
161
 
162
  if __name__ == "__main__":
163
  launch_gradio()
164
+