Spaces:
Running on Zero
Running on Zero
arial
Browse files
app.py
CHANGED
|
@@ -39,7 +39,9 @@ from huggingface_hub import snapshot_download
|
|
| 39 |
hf_token = os.environ.get("HF_TOKEN")
|
| 40 |
MODEL_TITLE = "🔬 FluoGen: AI-Powered Fluorescence Microscopy Suite"
|
| 41 |
MODEL_DESCRIPTION = """
|
| 42 |
-
**Paper**: *Generative
|
|
|
|
|
|
|
| 43 |
<br>
|
| 44 |
Select a task below.
|
| 45 |
**Note**: The "Pseudocolor" option instantly applies to both **Input** and **Output** images for better comparison. Use the "Download Raw Output" button to get the scientific 16-bit/Float data.
|
|
@@ -52,7 +54,7 @@ SAVE_EXAMPLES = False
|
|
| 52 |
# --- CSS for Times New Roman ---
|
| 53 |
CUSTOM_CSS = """
|
| 54 |
.gradio-container, .gradio-container * {
|
| 55 |
-
font-family: 'Arial',
|
| 56 |
}
|
| 57 |
"""
|
| 58 |
|
|
@@ -71,7 +73,7 @@ CONTROLNET_UNET_PATH = f"{MODELS_ROOT_DIR}/UNET_T2I_CONTROLNET/checkpoint-285000
|
|
| 71 |
|
| 72 |
SR_CONTROLNET_MODELS = {
|
| 73 |
"Checkpoint ER": f"{MODELS_ROOT_DIR}/ControlNet_SR/ER/checkpoint-30000",
|
| 74 |
-
"Checkpoint
|
| 75 |
"Checkpoint CCPs": f"{MODELS_ROOT_DIR}/ControlNet_SR/CCPs/checkpoint-100000",
|
| 76 |
"Checkpoint F-actin": f"{MODELS_ROOT_DIR}/ControlNet_SR/F-actin/checkpoint-35000",
|
| 77 |
}
|
|
|
|
| 39 |
hf_token = os.environ.get("HF_TOKEN")
|
| 40 |
MODEL_TITLE = "🔬 FluoGen: AI-Powered Fluorescence Microscopy Suite"
|
| 41 |
MODEL_DESCRIPTION = """
|
| 42 |
+
**Paper**: [*FluoGen: An Open-Source Generative Foundation Model for Fluorescence Microscopy Image Enhancement and Analysis*](https://doi.org/10.21203/rs.3.rs-8334792/v1)
|
| 43 |
+
**Homepage**: [Homepage Website](https://rayquazamega.github.io/FluoGen-HomePage/)
|
| 44 |
+
**Code**: [GitHub Repository](https://github.com/FluoGen-Group/FluoGen)
|
| 45 |
<br>
|
| 46 |
Select a task below.
|
| 47 |
**Note**: The "Pseudocolor" option instantly applies to both **Input** and **Output** images for better comparison. Use the "Download Raw Output" button to get the scientific 16-bit/Float data.
|
|
|
|
| 54 |
# --- CSS for Times New Roman ---
|
| 55 |
CUSTOM_CSS = """
|
| 56 |
.gradio-container, .gradio-container * {
|
| 57 |
+
font-family: 'Arial', 'Helvetica', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
|
| 58 |
}
|
| 59 |
"""
|
| 60 |
|
|
|
|
| 73 |
|
| 74 |
SR_CONTROLNET_MODELS = {
|
| 75 |
"Checkpoint ER": f"{MODELS_ROOT_DIR}/ControlNet_SR/ER/checkpoint-30000",
|
| 76 |
+
"Checkpoint Micro·bules": f"{MODELS_ROOT_DIR}/ControlNet_SR/Microtubules/checkpoint-72500",
|
| 77 |
"Checkpoint CCPs": f"{MODELS_ROOT_DIR}/ControlNet_SR/CCPs/checkpoint-100000",
|
| 78 |
"Checkpoint F-actin": f"{MODELS_ROOT_DIR}/ControlNet_SR/F-actin/checkpoint-35000",
|
| 79 |
}
|