Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.5.1
metadata
title: TEST
emoji: π¨
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 5.32.1
app_file: app.py
pinned: false
license: mit
TEST Gradio Space Demo
This is a comprehensive Gradio space demonstration that showcases various features and capabilities of the Gradio framework.
Last updated: January 5, 2025
Features
π― Greeting Generator
- Personalized greeting generation with multiple input types
- Name input field with placeholder text
- Morning/evening toggle checkbox
- Temperature slider for weather context
- Dynamic emoji selection
π Text Analyzer
- Word count analysis
- Character count (with and without spaces)
- Average word length calculation
- Real-time text processing
π About Section
- Documentation and usage instructions
- Feature overview
- Deployment guidelines
Demo Highlights
- Multiple Tabs: Organized interface with different functionalities
- Various Input Types: Text fields, checkboxes, sliders, and buttons
- Interactive Elements: Submit on button click or Enter key
- Modern UI: Clean design with Gradio's Soft theme
- API Access: REST API endpoints for programmatic access
How to Use
- Greeting Generator: Enter your name, select morning/evening, adjust temperature, and generate a personalized greeting
- Text Analyzer: Paste any text to get detailed analysis including word count and character statistics
- About: Learn more about the demo and how to create your own Gradio space
Local Development
To run this locally:
pip install gradio
python app.py
The app will be available at http://localhost:7860
Deployment
This space demonstrates how easy it is to deploy Gradio apps on Hugging Face Spaces:
- Create your
app.pywith Gradio interface - Add
requirements.txtwith dependencies - Include
README.mdwith metadata - Push to Hugging Face Spaces repository
- Your app goes live automatically!
API Usage
This space provides REST API endpoints. Once deployed, you can access the API documentation and test the endpoints directly in the interface.