Spaces:
Running
Running
Rename app.py to indi.py
Browse files- app.py → indi.py +2 -6
app.py → indi.py
RENAMED
@@ -167,11 +167,7 @@ def process_audio(url, audio_name):
|
|
167 |
zip_file = zip_directory(dataset_path, audio_name)
|
168 |
return zip_file, print(f"{zip_file} successfully processed")
|
169 |
|
170 |
-
|
171 |
-
parser = ArgumentParser()
|
172 |
-
parser.add_argument("--colab", action="store_true", dest="share_enabled", default=False, help="Enable sharing")
|
173 |
-
|
174 |
-
args = parser.parse_args()
|
175 |
|
176 |
|
177 |
thme = gr.themes.Soft(
|
@@ -182,7 +178,7 @@ thme = gr.themes.Soft(
|
|
182 |
with gr.Blocks(theme=thme) as demo:
|
183 |
gr.Markdown("# <div style='text-align: center;'> RVC DATASET MAKER</div>")
|
184 |
gr.Markdown(" <div style='text-align: center;'> only work for vocal only audio!</div>")
|
185 |
-
if
|
186 |
pass
|
187 |
else:
|
188 |
gr.Markdown("<div style='text-align: center;'> please `❤` this spaces 🤗 if helpfull</dif>")
|
|
|
167 |
zip_file = zip_directory(dataset_path, audio_name)
|
168 |
return zip_file, print(f"{zip_file} successfully processed")
|
169 |
|
170 |
+
|
|
|
|
|
|
|
|
|
171 |
|
172 |
|
173 |
thme = gr.themes.Soft(
|
|
|
178 |
with gr.Blocks(theme=thme) as demo:
|
179 |
gr.Markdown("# <div style='text-align: center;'> RVC DATASET MAKER</div>")
|
180 |
gr.Markdown(" <div style='text-align: center;'> only work for vocal only audio!</div>")
|
181 |
+
if colab:
|
182 |
pass
|
183 |
else:
|
184 |
gr.Markdown("<div style='text-align: center;'> please `❤` this spaces 🤗 if helpfull</dif>")
|