Update src/webui.py
Browse files- src/webui.py +4 -1
src/webui.py
CHANGED
@@ -153,6 +153,9 @@ def show_hop_slider(pitch_detection_algo):
|
|
153 |
else:
|
154 |
return gr.update(visible=False)
|
155 |
|
|
|
|
|
|
|
156 |
|
157 |
if __name__ == '__main__':
|
158 |
parser = ArgumentParser(description='Создайте AI кавер-версию в каталоге song_output/id.', add_help=True)
|
@@ -166,7 +169,7 @@ if __name__ == '__main__':
|
|
166 |
with open(os.path.join(rvc_models_dir, 'public_models.json'), encoding='utf8') as infile:
|
167 |
public_models = json.load(infile)
|
168 |
|
169 |
-
with gr.Blocks(title='AICoverGenWebUI') as app:
|
170 |
# main tab
|
171 |
with gr.Tab("Генерация"):
|
172 |
|
|
|
153 |
else:
|
154 |
return gr.update(visible=False)
|
155 |
|
156 |
+
css = """
|
157 |
+
footer {visibility: hidden !important;}
|
158 |
+
"""
|
159 |
|
160 |
if __name__ == '__main__':
|
161 |
parser = ArgumentParser(description='Создайте AI кавер-версию в каталоге song_output/id.', add_help=True)
|
|
|
169 |
with open(os.path.join(rvc_models_dir, 'public_models.json'), encoding='utf8') as infile:
|
170 |
public_models = json.load(infile)
|
171 |
|
172 |
+
with gr.Blocks(title='AICoverGenWebUI', css=css) as app:
|
173 |
# main tab
|
174 |
with gr.Tab("Генерация"):
|
175 |
|