Update app.py
Browse files
app.py
CHANGED
|
@@ -273,11 +273,19 @@ class App:
|
|
| 273 |
deepl_params = translation_params["deepl"]
|
| 274 |
nllb_params = translation_params["nllb"]
|
| 275 |
uvr_params = self.default_params["bgm_separation"]
|
| 276 |
-
|
|
|
|
| 277 |
with self.app:
|
| 278 |
with gr.Row():
|
| 279 |
with gr.Column():
|
| 280 |
-
gr.Markdown(MARKDOWN, elem_id="md_project")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 281 |
with gr.Tabs():
|
| 282 |
with gr.TabItem("Audio upload/record"): # tab1
|
| 283 |
with gr.Column():
|
|
|
|
| 273 |
deepl_params = translation_params["deepl"]
|
| 274 |
nllb_params = translation_params["nllb"]
|
| 275 |
uvr_params = self.default_params["bgm_separation"]
|
| 276 |
+
general_params = self.default_params["general"]
|
| 277 |
+
|
| 278 |
with self.app:
|
| 279 |
with gr.Row():
|
| 280 |
with gr.Column():
|
| 281 |
+
#gr.Markdown(MARKDOWN, elem_id="md_project")
|
| 282 |
+
website_title = general_params["website_title"]
|
| 283 |
+
website_subtitle = general_params["website_subtitle"]
|
| 284 |
+
disclaimer_show = general_params["disclaimer_show"]
|
| 285 |
+
disclaimer_popup = general_params["disclaimer_popup"]
|
| 286 |
+
disclaimer_text = general_params["disclaimer_text"]
|
| 287 |
+
|
| 288 |
+
gr.Markdown("# ⚠ "+str(disclaimer_text))
|
| 289 |
with gr.Tabs():
|
| 290 |
with gr.TabItem("Audio upload/record"): # tab1
|
| 291 |
with gr.Column():
|