Update app.py
Browse files
app.py
CHANGED
@@ -277,27 +277,29 @@ class App:
|
|
277 |
|
278 |
with self.app:
|
279 |
with gr.Row():
|
280 |
-
with gr.Column():
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
|
|
|
|
301 |
|
302 |
with gr.Tabs():
|
303 |
with gr.TabItem("Audio upload/record"): # tab1
|
|
|
277 |
|
278 |
with self.app:
|
279 |
with gr.Row():
|
280 |
+
#with gr.Column():
|
281 |
+
#gr.Markdown(MARKDOWN, elem_id="md_project")
|
282 |
+
website_title = str(general_params["website_title"]).strip()
|
283 |
+
website_subtitle = str(general_params["website_subtitle"]).strip()
|
284 |
+
disclaimer_text = str(general_params["disclaimer_text"]).strip()
|
285 |
+
disclaimer_show = general_params["disclaimer_show"]
|
286 |
+
disclaimer_popup = general_params["disclaimer_popup"]
|
287 |
+
|
288 |
+
test_text = f"""
|
289 |
+
# {website_title}
|
290 |
+
##### {website_subtitle}
|
291 |
+
"""
|
292 |
+
|
293 |
+
gr.Markdown(test_text,elem_id="md_project")
|
294 |
+
|
295 |
+
if website_title:
|
296 |
+
gr.Markdown(website_title,elem_id="md_project")
|
297 |
+
|
298 |
+
if website_subtitle:
|
299 |
+
gr.Markdown("##### "+website_subtitle,elem_id="md_project")
|
300 |
+
|
301 |
+
if disclaimer_show:
|
302 |
+
gr.Markdown("###### ⚠ "+disclaimer_text,elem_id="md_project")
|
303 |
|
304 |
with gr.Tabs():
|
305 |
with gr.TabItem("Audio upload/record"): # tab1
|