Spaces:
Running
Running
Jekyll2000
commited on
Commit
•
3b482fa
1
Parent(s):
78c088f
Update app.py
Browse files
app.py
CHANGED
@@ -1,24 +1,3 @@
|
|
1 |
-
#!/usr/bin/env python3
|
2 |
-
#
|
3 |
-
# Copyright 2022-2023 Xiaomi Corp. (authors: Fangjun Kuang)
|
4 |
-
#
|
5 |
-
# See LICENSE for clarification regarding multiple authors
|
6 |
-
#
|
7 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8 |
-
# you may not use this file except in compliance with the License.
|
9 |
-
# You may obtain a copy of the License at
|
10 |
-
#
|
11 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12 |
-
#
|
13 |
-
# Unless required by applicable law or agreed to in writing, software
|
14 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16 |
-
# See the License for the specific language governing permissions and
|
17 |
-
# limitations under the License.
|
18 |
-
|
19 |
-
# References:
|
20 |
-
# https://gradio.app/docs/#dropdown
|
21 |
-
|
22 |
import logging
|
23 |
import os
|
24 |
import time
|
@@ -173,22 +152,6 @@ with demo:
|
|
173 |
|
174 |
output_info = gr.HTML(label="Info")
|
175 |
|
176 |
-
# gr.Examples(
|
177 |
-
# examples=examples,
|
178 |
-
# fn=process,
|
179 |
-
# inputs=[
|
180 |
-
# language_radio,
|
181 |
-
# model_dropdown,
|
182 |
-
# input_text,
|
183 |
-
# input_sid,
|
184 |
-
# input_speed,
|
185 |
-
# ],
|
186 |
-
# outputs=[
|
187 |
-
# output_audio,
|
188 |
-
# output_info,
|
189 |
-
# ],
|
190 |
-
# )
|
191 |
-
|
192 |
input_button.click(
|
193 |
process,
|
194 |
inputs=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import logging
|
2 |
import os
|
3 |
import time
|
|
|
152 |
|
153 |
output_info = gr.HTML(label="Info")
|
154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
input_button.click(
|
156 |
process,
|
157 |
inputs=[
|