Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ client = genai.Client(api_key=gemini_api_key)
|
|
| 27 |
|
| 28 |
"""### 🧠 Loading MedGemma for Radiology Insights
|
| 29 |
|
| 30 |
-
Here, we load the
|
| 31 |
"""
|
| 32 |
|
| 33 |
from transformers import pipeline, BitsAndBytesConfig
|
|
@@ -132,10 +132,10 @@ def toggle_image_src(choice):
|
|
| 132 |
with gr.Blocks() as demo:
|
| 133 |
gr.Markdown(
|
| 134 |
"""
|
| 135 |
-
# LookingSoft Radiology Assistant
|
| 136 |
-
## Developed by the
|
| 137 |
|
| 138 |
-
This assistant demonstrates the integration of
|
| 139 |
"""
|
| 140 |
)
|
| 141 |
with gr.Row():
|
|
|
|
| 27 |
|
| 28 |
"""### 🧠 Loading MedGemma for Radiology Insights
|
| 29 |
|
| 30 |
+
Here, we load the MedGemma model—an image-text model optimized for medical contexts. We apply 4-bit quantization to enhance performance and reduce memory usage on GPUs.
|
| 31 |
"""
|
| 32 |
|
| 33 |
from transformers import pipeline, BitsAndBytesConfig
|
|
|
|
| 132 |
with gr.Blocks() as demo:
|
| 133 |
gr.Markdown(
|
| 134 |
"""
|
| 135 |
+
# LookingSoft Radiology Assistant
|
| 136 |
+
## Developed by the Lookingsoft Team
|
| 137 |
|
| 138 |
+
This assistant demonstrates the integration of MedGemma for medical image interpretation with Gemini’s native text-to-speech (TTS). It simplifies complex radiology reports into clear, spoken language, making insights more accessible and understandable for both professionals and patients.
|
| 139 |
"""
|
| 140 |
)
|
| 141 |
with gr.Row():
|