feat: modernize UI with gradient design, glass morphism, and enhanced visual appeal

- Add purple/indigo gradient background throughout app
- Implement glass morphism effects on all cards
- Add gradient buttons with smooth hover animations
- Integrate emoji icons for better visual communication
- Enhance typography with improved font stack
- Add loading spinners and smooth transitions
- Improve color scheme with modern purple/indigo palette
- Add glowing shadows and depth effects
- Maintain responsive design and touch-friendly interactions
This commit is contained in:
2025-12-09 12:29:40 +00:00
parent 63bdf57593
commit 706ada866c
17 changed files with 731 additions and 93 deletions

View File

@@ -0,0 +1,18 @@
import asyncio
from services.ollama_service import OllamaService
async def test():
service = OllamaService()
text = '''Once upon a time, in a tiny village surrounded by lush green forests, there lived three best friends: Lily the rabbit, Benny the bear, and Sammy the squirrel.
As they sat down on a blanket, Lily asked, "Have you guys heard about the new stream that just appeared in the woods?"
Benny's eyes lit up. "Ooh, I love streams! Do we get to go see it now?"
Sammy nodded enthusiastically. "I've been wanting to explore the forest more since the snow melted. Let's go!"'''
print("Testing Ollama speaker detection...")
speakers = await service.detect_speakers(text)
print(f'Detected speakers: {speakers}')
asyncio.run(test())