README / app.py
Hev832's picture
Update app.py
5d24592 verified
raw
history blame
2.09 kB
import gradio as gr
import time
# Define the text content
content = """
# Welcome to kindahex
**kindahex** is an organization dedicated to developing innovative and open-source software solutions.
Our projects span various domains including AI, web development, and automation, designed to push the boundaries of technology while fostering collaboration and learning.
## ๐Ÿ“Œ What We Do
At kindahex, we focus on creating tools and platforms that:
- Simplify complex processes with intuitive user interfaces.
- Empower developers and users alike through automation.
- Leverage cutting-edge AI technologies for practical applications.
Our primary areas of interest include:
- **Artificial Intelligence**: Building AI-based solutions for diverse tasks.
- **Web Development**: Creating interactive web applications with modern technologies.
- **Automation**: Streamlining workflows to boost productivity.
## ๐ŸŒฑ Contributing
We welcome contributions from the open-source community! If you're interested in contributing:
1. Fork the repository youโ€™re interested in.
2. Create a new branch (`git checkout -b feature-branch`).
3. Make your changes and commit (`git commit -m 'Add new feature'`).
4. Push your branch (`git push origin feature-branch`).
5. Open a pull request for review.
## ๐Ÿ“ฌ Contact
For inquiries or collaboration, feel free to reach out to us through [GitHub](https://github.com/kindahex), or [Hugging Face discussions](https://huggingface.co/spaces/kindahex/README/discussions).
"""
# Define the animation function
def animate_text():
for i in range(0, len(content), 100):
yield content[:i]
time.sleep(0.1) # Sleep for a while between updates
# Update the Gradio interface dynamically
def update_text():
return list(animate_text())[-1]
# Create the Gradio interface
with gr.Blocks() as demo:
markdown_output = gr.Markdown()
def animate():
for part in animate_text():
markdown_output.update(part)
time.sleep(0.1)
demo.load(fn=animate, inputs=[], outputs=markdown_output)
demo.launch()