Upload 106 files
Browse files
sci-image/src/constants.py
CHANGED
|
@@ -2,7 +2,7 @@ from os import environ, cpu_count
|
|
| 2 |
|
| 3 |
cpu_cores = cpu_count()
|
| 4 |
cpus = cpu_cores // 2 if cpu_cores else 0
|
| 5 |
-
APP_VERSION = "v1.
|
| 6 |
LCM_DEFAULT_MODEL = "stabilityai/sd-turbo"
|
| 7 |
LCM_DEFAULT_MODEL_OPENVINO = "rupeshs/sd-turbo-openvino"
|
| 8 |
APP_NAME = "AEGIS Bio-Digital Lab 10 - Visual System"
|
|
|
|
| 2 |
|
| 3 |
cpu_cores = cpu_count()
|
| 4 |
cpus = cpu_cores // 2 if cpu_cores else 0
|
| 5 |
+
APP_VERSION = "v1.1.0"
|
| 6 |
LCM_DEFAULT_MODEL = "stabilityai/sd-turbo"
|
| 7 |
LCM_DEFAULT_MODEL_OPENVINO = "rupeshs/sd-turbo-openvino"
|
| 8 |
APP_NAME = "AEGIS Bio-Digital Lab 10 - Visual System"
|
sci-image/src/frontend/gui/app_window.py
CHANGED
|
@@ -363,11 +363,11 @@ class MainWindow(QMainWindow):
|
|
| 363 |
self.label.setAlignment(Qt.AlignCenter)
|
| 364 |
current_year = datetime.now().year
|
| 365 |
self.label.setText(
|
| 366 |
-
f"""<h1>
|
| 367 |
-
<h3>
|
| 368 |
-
<h3>
|
| 369 |
-
|
| 370 |
-
<h3>
|
| 371 |
)
|
| 372 |
|
| 373 |
vlayout = QVBoxLayout()
|
|
|
|
| 363 |
self.label.setAlignment(Qt.AlignCenter)
|
| 364 |
current_year = datetime.now().year
|
| 365 |
self.label.setText(
|
| 366 |
+
f"""<h1>AEGIS Bio-Digital Lab 10 - Visual System</h1>
|
| 367 |
+
<h3>© {current_year} GSS-TEC</h3>
|
| 368 |
+
<h3>Scientific Visualization for Pathogen & Molecular Structure Generation</h3>
|
| 369 |
+
<h3>Contact: info@gss-tec.com</h3>
|
| 370 |
+
<h3>Website: https://www.gss-tec.com</h3>"""
|
| 371 |
)
|
| 372 |
|
| 373 |
vlayout = QVBoxLayout()
|
sci-image/src/frontend/webui/hf_demo.py
CHANGED
|
@@ -109,10 +109,9 @@ footer {
|
|
| 109 |
|
| 110 |
|
| 111 |
def _get_footer_message() -> str:
|
| 112 |
-
version = f"<center><p> {APP_VERSION} "
|
| 113 |
current_year = datetime.now().year
|
| 114 |
-
footer_msg =
|
| 115 |
-
f'
|
| 116 |
" GSS-TEC</a> | <a href=\"mailto:info@gss-tec.com\">info@gss-tec.com</a></p></center>"
|
| 117 |
)
|
| 118 |
warning_msg = "<p><b>AEGIS Bio-Digital Lab 10 - Scientific Visualization System for Disease & Drug Discovery</b></p><br>"
|
|
@@ -134,8 +133,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 134 |
gr.HTML(
|
| 135 |
f"""
|
| 136 |
<p id="project-links" align="center">
|
| 137 |
-
<a href='https://
|
| 138 |
-
</p>
|
| 139 |
"""
|
| 140 |
)
|
| 141 |
|
|
|
|
| 109 |
|
| 110 |
|
| 111 |
def _get_footer_message() -> str:
|
|
|
|
| 112 |
current_year = datetime.now().year
|
| 113 |
+
footer_msg = (
|
| 114 |
+
f'<center><p>© {current_year} <a href="https://www.gss-tec.com">'
|
| 115 |
" GSS-TEC</a> | <a href=\"mailto:info@gss-tec.com\">info@gss-tec.com</a></p></center>"
|
| 116 |
)
|
| 117 |
warning_msg = "<p><b>AEGIS Bio-Digital Lab 10 - Scientific Visualization System for Disease & Drug Discovery</b></p><br>"
|
|
|
|
| 133 |
gr.HTML(
|
| 134 |
f"""
|
| 135 |
<p id="project-links" align="center">
|
| 136 |
+
<a href='https://www.gss-tec.com'><img src='https://img.shields.io/badge/GSS--TEC-Website-Blue'></a>
|
| 137 |
+
</p>
|
| 138 |
"""
|
| 139 |
)
|
| 140 |
|
sci-image/src/frontend/webui/realtime_ui.py
CHANGED
|
@@ -82,11 +82,10 @@ footer {
|
|
| 82 |
|
| 83 |
|
| 84 |
def _get_footer_message() -> str:
|
| 85 |
-
version = f"<center><p> {APP_VERSION} "
|
| 86 |
current_year = datetime.now().year
|
| 87 |
-
footer_msg =
|
| 88 |
-
f'
|
| 89 |
-
"
|
| 90 |
)
|
| 91 |
return footer_msg
|
| 92 |
|
|
@@ -95,7 +94,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 95 |
with gr.Column(elem_id="container"):
|
| 96 |
use_openvino = "- OpenVINO" if is_openvino_device() else ""
|
| 97 |
gr.Markdown(
|
| 98 |
-
f"""# Realtime
|
| 99 |
**Device : {DEVICE} , {get_device_name()}**
|
| 100 |
""",
|
| 101 |
elem_id="intro",
|
|
|
|
| 82 |
|
| 83 |
|
| 84 |
def _get_footer_message() -> str:
|
|
|
|
| 85 |
current_year = datetime.now().year
|
| 86 |
+
footer_msg = (
|
| 87 |
+
f'<center><p>© {current_year} <a href="https://www.gss-tec.com">'
|
| 88 |
+
" GSS-TEC</a> | <a href=\"mailto:info@gss-tec.com\">info@gss-tec.com</a></p></center>"
|
| 89 |
)
|
| 90 |
return footer_msg
|
| 91 |
|
|
|
|
| 94 |
with gr.Column(elem_id="container"):
|
| 95 |
use_openvino = "- OpenVINO" if is_openvino_device() else ""
|
| 96 |
gr.Markdown(
|
| 97 |
+
f"""# AEGIS Bio-Digital Lab 10 - Realtime Visual System {use_openvino}
|
| 98 |
**Device : {DEVICE} , {get_device_name()}**
|
| 99 |
""",
|
| 100 |
elem_id="intro",
|
sci-image/src/frontend/webui/ui.py
CHANGED
|
@@ -17,11 +17,10 @@ app_settings = get_settings()
|
|
| 17 |
|
| 18 |
|
| 19 |
def _get_footer_message() -> str:
|
| 20 |
-
version = f"<center><p> {APP_VERSION} "
|
| 21 |
current_year = datetime.now().year
|
| 22 |
-
footer_msg =
|
| 23 |
-
f'
|
| 24 |
-
"
|
| 25 |
)
|
| 26 |
return footer_msg
|
| 27 |
|
|
@@ -49,11 +48,11 @@ def get_web_ui() -> gr.Blocks:
|
|
| 49 |
primary_hue="blue",
|
| 50 |
)
|
| 51 |
with gr.Blocks(
|
| 52 |
-
title="
|
| 53 |
theme=theme,
|
| 54 |
css="footer {visibility: hidden}",
|
| 55 |
) as fastsd_web_ui:
|
| 56 |
-
gr.HTML("<center><H1>
|
| 57 |
gr.Markdown(
|
| 58 |
f"**Processor : {get_device_name()}**",
|
| 59 |
elem_id="processor",
|
|
|
|
| 17 |
|
| 18 |
|
| 19 |
def _get_footer_message() -> str:
|
|
|
|
| 20 |
current_year = datetime.now().year
|
| 21 |
+
footer_msg = (
|
| 22 |
+
f'<center><p>© {current_year} <a href="https://www.gss-tec.com">'
|
| 23 |
+
" GSS-TEC</a> | <a href=\"mailto:info@gss-tec.com\">info@gss-tec.com</a></p></center>"
|
| 24 |
)
|
| 25 |
return footer_msg
|
| 26 |
|
|
|
|
| 48 |
primary_hue="blue",
|
| 49 |
)
|
| 50 |
with gr.Blocks(
|
| 51 |
+
title="AEGIS Bio-Digital Lab 10",
|
| 52 |
theme=theme,
|
| 53 |
css="footer {visibility: hidden}",
|
| 54 |
) as fastsd_web_ui:
|
| 55 |
+
gr.HTML("<center><H1>AEGIS Bio-Digital Lab 10 - Visual System</H1></center>")
|
| 56 |
gr.Markdown(
|
| 57 |
f"**Processor : {get_device_name()}**",
|
| 58 |
elem_id="processor",
|