Skip to content

Gomathi-Raji/Laura-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿค– Zara Voice Assistant - Web UI

A beautiful and intuitive Streamlit-based web interface for the Zara Voice Assistant.

โœจ Features

๐ŸŽ›๏ธ Control Panel

  • Real-time Status Display - Shows current system status and mode
  • Voice Control Buttons - Start/stop voice recognition with one click
  • Quick Action Buttons - Direct access to all features
  • Manual Text Input - Type commands when voice isn't available

๐Ÿ’ฌ Live Conversation

  • Real-time Chat Interface - See conversations as they happen
  • Message History - Scrollable conversation log with timestamps
  • Live Transcription - See what you're saying in real-time
  • Color-coded Messages - Distinct styling for user and assistant messages

๐Ÿ“Š System Monitoring

  • Feature Status - Real-time status of all system components
  • Session Statistics - Track usage and performance
  • System Controls - Clear logs, export data, refresh interface

๐Ÿš€ Quick Start

Method 1: Using the Launcher

python launcher.py

Then select option 2 for Web UI.

Method 2: Direct Launch

streamlit run app_ui.py

Method 3: One-Click Start

Double-click start.bat (Windows)

๐ŸŽฏ How to Use

1. Voice Control

  • Click "๐ŸŽ™๏ธ Start Listening"
  • Speak your command clearly
  • Watch the live transcription
  • See the response in the chat

2. Quick Actions

  • ๐ŸŽต Play Music - Search and play songs on Spotify
  • ๐Ÿคฒ Gesture Recognition - Launch gesture control window
  • ๐ŸŒ Translator - Start Tamil-Hindi translation
  • ๐ŸŽฌ GIF Display - Show animated GIFs for words

3. Text Input

  • Type commands in the text box
  • Click "Send" to process
  • Great for when microphone isn't available

4. System Management

  • Monitor all system features in real-time
  • Export conversation logs
  • Clear chat history
  • Refresh interface

๐ŸŽจ Interface Layout

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   ๐Ÿค– Zara Voice Assistant                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  ๐ŸŽ›๏ธ Controls โ”‚      ๐Ÿ’ฌ Conversation     โ”‚  ๐Ÿ“Š System Info โ”‚
โ”‚             โ”‚                         โ”‚                 โ”‚
โ”‚ โ€ข Status    โ”‚  โ”Œโ”€ User: Hello        โ”‚ โ€ข Feature Statusโ”‚
โ”‚ โ€ข Voice     โ”‚  โ””โ”€ Zara: Hi there!    โ”‚ โ€ข Session Stats โ”‚  
โ”‚ โ€ข Features  โ”‚                         โ”‚ โ€ข Quick Actionsโ”‚
โ”‚ โ€ข Text Inputโ”‚  [Live Transcription]   โ”‚ โ€ข Export/Clear โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐ŸŽญ Available Commands

Voice Commands

  • "play [song name]" - Play music on Spotify
  • "translator" - Start Tamil-Hindi translation
  • "gesture" - Open gesture recognition
  • "gif" - Show GIF animations
  • "hello/yes/no/thank you" - Trigger specific GIFs

Tamil Commands

  • "เฎชเฎพเฎŸเฎฒเฏ เฎ‡เฎšเฏˆ" - Play music
  • "เฎฎเฏŠเฎดเฎฟเฎชเฏ†เฎฏเฎฐเฏเฎชเฏเฎชเฏ" - Start translator
  • "เฎ•เฏˆ เฎšเฏˆเฎ•เฏˆ" - Gesture control
  • "GIF เฎ•เฎพเฎŸเฏเฎŸเฏ" - Show GIFs

๐Ÿ› ๏ธ Technical Features

Real-time Updates

  • Auto-refresh every second during voice input
  • Live status monitoring
  • Instant message display

Multi-threaded Processing

  • Non-blocking voice recognition
  • Background task processing
  • Responsive UI during operations

Data Management

  • Conversation logging to file
  • JSON export functionality
  • Session state persistence

Error Handling

  • Graceful error recovery
  • User-friendly error messages
  • System status indicators

๐Ÿ“ฑ Responsive Design

  • Wide Layout - Optimized for desktop use
  • Color-coded Status - Visual feedback for all states
  • Intuitive Controls - Large, clearly labeled buttons
  • Professional Styling - Modern gradient design

๐Ÿ”ง Configuration

Edit ui_config.json to customize:

  • Theme settings
  • Refresh intervals
  • Display options
  • Feature toggles

๐Ÿ“Š System Requirements

  • Python 3.7+
  • Streamlit 1.28+
  • Web browser (Chrome, Firefox, Edge)
  • Microphone (for voice input)
  • Internet connection (for AI and Spotify)

๐ŸŽฏ Pro Tips

  1. Use Chrome/Edge for best microphone support
  2. Allow microphone access when prompted
  3. Keep the window active for real-time updates
  4. Export logs regularly to save conversations
  5. Use text input as backup for voice commands

๐Ÿ†˜ Troubleshooting

Voice Not Working?

  • Check microphone permissions
  • Try text input instead
  • Refresh the page

Commands Not Processing?

  • Check system status indicator
  • Look for error messages in red
  • Try refreshing the interface

Spotify Not Opening?

  • Ensure internet connection
  • Check if default browser is set
  • Try manual search in Spotify

๐Ÿค– Enjoy your enhanced Zara Voice Assistant experience!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors