Spaces:
Configuration error
Configuration error
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>AI Diabetic Retinopathy Detection</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| min-height: 100vh; | |
| padding: 20px; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| background: white; | |
| border-radius: 20px; | |
| box-shadow: 0 20px 40px rgba(0,0,0,0.1); | |
| overflow: hidden; | |
| } | |
| .header { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| color: white; | |
| padding: 40px; | |
| text-align: center; | |
| } | |
| .header h1 { | |
| font-size: 2.5rem; | |
| margin-bottom: 10px; | |
| font-weight: 300; | |
| } | |
| .header p { | |
| font-size: 1.1rem; | |
| opacity: 0.9; | |
| } | |
| .content { | |
| padding: 40px; | |
| } | |
| .demo-section { | |
| background: #f8f9fa; | |
| border-radius: 15px; | |
| padding: 30px; | |
| margin-bottom: 30px; | |
| text-align: center; | |
| } | |
| .demo-section h2 { | |
| color: #333; | |
| margin-bottom: 20px; | |
| font-size: 1.8rem; | |
| } | |
| .demo-section p { | |
| color: #666; | |
| margin-bottom: 25px; | |
| font-size: 1.1rem; | |
| line-height: 1.6; | |
| } | |
| .demo-button { | |
| display: inline-block; | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| color: white; | |
| padding: 15px 30px; | |
| text-decoration: none; | |
| border-radius: 50px; | |
| font-size: 1.1rem; | |
| font-weight: 500; | |
| transition: all 0.3s ease; | |
| box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4); | |
| } | |
| .demo-button:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6); | |
| } | |
| .features { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 30px; | |
| margin-bottom: 40px; | |
| } | |
| .feature-card { | |
| background: white; | |
| border-radius: 15px; | |
| padding: 30px; | |
| text-align: center; | |
| box-shadow: 0 10px 30px rgba(0,0,0,0.1); | |
| transition: transform 0.3s ease; | |
| } | |
| .feature-card:hover { | |
| transform: translateY(-5px); | |
| } | |
| .feature-icon { | |
| font-size: 3rem; | |
| margin-bottom: 20px; | |
| } | |
| .feature-card h3 { | |
| color: #333; | |
| margin-bottom: 15px; | |
| font-size: 1.4rem; | |
| } | |
| .feature-card p { | |
| color: #666; | |
| line-height: 1.6; | |
| } | |
| .github-section { | |
| background: #24292e; | |
| color: white; | |
| padding: 40px; | |
| text-align: center; | |
| border-radius: 15px; | |
| } | |
| .github-section h2 { | |
| margin-bottom: 20px; | |
| font-size: 1.8rem; | |
| } | |
| .github-section p { | |
| margin-bottom: 25px; | |
| opacity: 0.9; | |
| line-height: 1.6; | |
| } | |
| .github-button { | |
| display: inline-block; | |
| background: #28a745; | |
| color: white; | |
| padding: 15px 30px; | |
| text-decoration: none; | |
| border-radius: 50px; | |
| font-size: 1.1rem; | |
| font-weight: 500; | |
| transition: all 0.3s ease; | |
| margin: 0 10px; | |
| } | |
| .github-button:hover { | |
| background: #218838; | |
| transform: translateY(-2px); | |
| } | |
| .medical-disclaimer { | |
| background: #fff3cd; | |
| border: 1px solid #ffeaa7; | |
| border-radius: 10px; | |
| padding: 20px; | |
| margin: 30px 0; | |
| text-align: center; | |
| } | |
| .medical-disclaimer h3 { | |
| color: #856404; | |
| margin-bottom: 10px; | |
| } | |
| .medical-disclaimer p { | |
| color: #856404; | |
| line-height: 1.6; | |
| } | |
| @media (max-width: 768px) { | |
| .header h1 { | |
| font-size: 2rem; | |
| } | |
| .content { | |
| padding: 20px; | |
| } | |
| .features { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <div class="header"> | |
| <h1>π¬ AI Diabetic Retinopathy Detection</h1> | |
| <p>Advanced deep learning system for early detection of diabetic retinopathy from OCT images</p> | |
| </div> | |
| <div class="content"> | |
| <div class="demo-section"> | |
| <h2>π Live Demo</h2> | |
| <p>Experience our AI-powered diabetic retinopathy detection system in action. Upload OCT images and get instant analysis with Grad-CAM visualizations.</p> | |
| <a href="http://192.168.18.28:7860" class="demo-button" target="_blank">Launch Live Demo</a> | |
| </div> | |
| <div class="features"> | |
| <div class="feature-card"> | |
| <div class="feature-icon">π€</div> | |
| <h3>AI-Powered Analysis</h3> | |
| <p>State-of-the-art ResNet-50 model trained on extensive OCT image datasets for accurate diabetic retinopathy detection.</p> | |
| </div> | |
| <div class="feature-card"> | |
| <div class="feature-icon">π₯</div> | |
| <h3>Grad-CAM Visualization</h3> | |
| <p>Advanced explainable AI technology that highlights the specific areas of OCT images that influence the AI's diagnosis.</p> | |
| </div> | |
| <div class="feature-card"> | |
| <div class="feature-icon">π</div> | |
| <h3>Confidence Scoring</h3> | |
| <p>Get detailed confidence scores and probability assessments for each diagnosis, ensuring reliable results.</p> | |
| </div> | |
| <div class="feature-card"> | |
| <div class="feature-icon">πΎ</div> | |
| <h3>Result Storage</h3> | |
| <p>Automatically save analyzed images with timestamps, predictions, and confidence scores for future reference.</p> | |
| </div> | |
| <div class="feature-card"> | |
| <div class="feature-icon">π</div> | |
| <h3>Batch Processing</h3> | |
| <p>Process multiple OCT images simultaneously with comprehensive CSV reporting and batch analysis capabilities.</p> | |
| </div> | |
| <div class="feature-card"> | |
| <div class="feature-icon">π</div> | |
| <h3>Web Interface</h3> | |
| <p>User-friendly Gradio web interface accessible from any device with a modern web browser.</p> | |
| </div> | |
| </div> | |
| <div class="medical-disclaimer"> | |
| <h3>β οΈ Medical Disclaimer</h3> | |
| <p>This tool is for research and educational purposes only. It should not be used for actual medical diagnosis without proper validation and clinical oversight. Always consult with qualified healthcare professionals for medical diagnosis and treatment decisions.</p> | |
| </div> | |
| <div class="github-section"> | |
| <h2>π Open Source Project</h2> | |
| <p>This project is completely open source and available on GitHub. Contribute, fork, or star the repository to support the development of AI-powered medical imaging tools.</p> | |
| <a href="https://github.com/yourusername/Deep_Learning_for_Ophthalmologist" class="github-button" target="_blank">View on GitHub</a> | |
| <a href="https://github.com/yourusername/Deep_Learning_for_Ophthalmologist/fork" class="github-button" target="_blank">Fork Project</a> | |
| </div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> | |