Spaces:
Running
Running
use MedLM LLM model for chat box
Browse files- index.html +5 -6
index.html
CHANGED
|
@@ -242,12 +242,12 @@ function App() {
|
|
| 242 |
{/* Hero Section */}
|
| 243 |
<section className="container mx-auto px-4 py-16 md:py-24 flex flex-col md:flex-row items-center">
|
| 244 |
<div className="md:w-1/2 hero-title">
|
| 245 |
-
|
| 246 |
Your Personal <span className="text-amber-500">Health Guardian</span>
|
| 247 |
</h1>
|
| 248 |
<p className="text-lg text-gray-700 mb-8">
|
| 249 |
AI-powered health companion with advanced medical knowledge, providing 24/7 accurate health information,
|
| 250 |
-
symptom analysis, and personalized wellness recommendations powered by
|
| 251 |
</p>
|
| 252 |
<div className="flex space-x-4">
|
| 253 |
<button
|
|
@@ -523,8 +523,7 @@ useEffect(() => {
|
|
| 523 |
backgroundColor: 0xf8fafc,
|
| 524 |
size: 0.8
|
| 525 |
});
|
| 526 |
-
|
| 527 |
-
// Initialize AI model
|
| 528 |
const aiModel = new HealthAIModel();
|
| 529 |
feather.replace();
|
| 530 |
}, []);
|
|
@@ -582,9 +581,9 @@ return (
|
|
| 582 |
</span>
|
| 583 |
</div>
|
| 584 |
<p className="text-xs opacity-80">
|
| 585 |
-
{isTyping ? '
|
| 586 |
</p>
|
| 587 |
-
|
| 588 |
<button
|
| 589 |
onClick={() => goToPage('home')}
|
| 590 |
className="ml-auto bg-white bg-opacity-20 hover:bg-opacity-30 rounded-full p-2 transition-all"
|
|
|
|
| 242 |
{/* Hero Section */}
|
| 243 |
<section className="container mx-auto px-4 py-16 md:py-24 flex flex-col md:flex-row items-center">
|
| 244 |
<div className="md:w-1/2 hero-title">
|
| 245 |
+
<h1 className="text-4xl md:text-5xl font-bold text-green-800 mb-4">
|
| 246 |
Your Personal <span className="text-amber-500">Health Guardian</span>
|
| 247 |
</h1>
|
| 248 |
<p className="text-lg text-gray-700 mb-8">
|
| 249 |
AI-powered health companion with advanced medical knowledge, providing 24/7 accurate health information,
|
| 250 |
+
symptom analysis, and personalized wellness recommendations powered by Google's MedLM model.
|
| 251 |
</p>
|
| 252 |
<div className="flex space-x-4">
|
| 253 |
<button
|
|
|
|
| 523 |
backgroundColor: 0xf8fafc,
|
| 524 |
size: 0.8
|
| 525 |
});
|
| 526 |
+
// Initialize MedLM model
|
|
|
|
| 527 |
const aiModel = new HealthAIModel();
|
| 528 |
feather.replace();
|
| 529 |
}, []);
|
|
|
|
| 581 |
</span>
|
| 582 |
</div>
|
| 583 |
<p className="text-xs opacity-80">
|
| 584 |
+
{isTyping ? 'MedLM is processing...' : 'Online'}
|
| 585 |
</p>
|
| 586 |
+
</div>
|
| 587 |
<button
|
| 588 |
onClick={() => goToPage('home')}
|
| 589 |
className="ml-auto bg-white bg-opacity-20 hover:bg-opacity-30 rounded-full p-2 transition-all"
|