Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
5.36.2
metadata
license: apache-2.0
title: teste-teste-teste
sdk: gradio
emoji: π
colorFrom: red
colorTo: red
short_description: yadayadayada
sdk_version: 5.33.0
Real-Time Screen Assistant - Premium Edition
This is a premium real-time screen assistant that integrates Google's Gemini 2.0 Live API with advanced screen recording capabilities.
Features
- ποΈ Real-time Audio Streaming - Voice activity detection with noise filtering
- π₯οΈ Professional Screen Recording - Native ScreenRecorder component with webcam overlay
- π€ AI Voice Responses - Bidirectional audio communication with Gemini 2.0
- π Text Response Display - Real-time text responses with conversation history
- π Background Task Management - Proper async handling and cleanup
- π Performance Monitoring - Real-time stats and adaptive quality
Setup
Set your Google AI API key:
export GEMINI_API_KEY="your-api-key-here"
Install dependencies (automatic on HuggingFace Spaces):
pip install -r requirements.txt
Run the application:
python app.py
Components
- app.py - Main application with premium real-time integration
- gradio_screenrecorder/ - Custom Gradio component for screen recording
- requirements.txt - All necessary dependencies including custom components
Environment Variables
GEMINI_API_KEY
- Required: Your Google AI API key for Gemini 2.0 Live API
Real-time Integration
This application implements complete real-time frontend integration:
- Continuous Audio Flow (User β Model) - Voice activity detection
- Model Audio Output (Model β User) - AI voice responses
- Screen Recording Integration - Professional screen capture
- Text Response Delivery (System β User) - Real-time text display
All features are optimized for 300-second real-time sessions with adaptive quality and intelligent throttling.