|
import gradio as gr |
|
import time |
|
|
|
|
|
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). |
|
""" |
|
|
|
|
|
def animate_text(): |
|
for i in range(0, len(content), 100): |
|
yield content[:i] |
|
time.sleep(0.1) |
|
|
|
|
|
def update_text(): |
|
return list(animate_text())[-1] |
|
|
|
|
|
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() |
|
|