kc / kotresh.py
Kotresha's picture
Upload 2 files
3563e22 verified
import gradio as gr
# Function to return personal profile info
def get_profile():
return f"""
# ๐Ÿ”ฅ Dr. Stephen Michael (Kotresha Chavadihindala)
## ๐Ÿš€ Visionary | AI Enthusiast | Kannada Culture Defender
---
## ๐Ÿ† Achievements
- ๐Ÿง  Hackathon Winner: Built AI Quiz Generator in 2 hrs
- ๐ŸŒ Founder of CUREX โ€“ Blockchain-based Healthcare Platform
- ๐Ÿค– Pneumonia Detection via CNN @ SPARK Internship
- ๐ŸŽค Presented PDA Simulator for Complex Languages
- ๐Ÿ Explored Cisco, Met BD Manager Sampath
- ๐Ÿง˜โ€โ™‚๏ธ Daily Yoga & Meditation since Grade 5
- ๐ŸŽ™ Kannada Videos: Hawking, iPhone, Universe, Subconscious Mind
- ๐Ÿ‡ฎ๐Ÿ‡ณ Supporting Kannada Medium Schools with Alemari Anil
- ๐Ÿšด Rode 32km in 4hrs โ€” Built from Pain
- ๐Ÿ›ฐ Documented Chandrayaan Landing โ€“ "India is on the Moon"
---
## ๐ŸŒ Quote
> โ€œHe flies his dreams one string at a time, letting the winds carry him to new heights.โ€
"""
# Message box function
def respond_to_message(message):
return f"๐Ÿ”ฅ Thanks for the message! Kotresha Chavadihindala never backs down. Your words will fuel the fire."
# Interface layout
with gr.Blocks(title="๐Ÿ”ฅ Official App of Dr. Stephen Michael") as app:
gr.Markdown("## ๐Ÿง  Official Web App: Kotresha Chavadihindala")
with gr.Tab("๐Ÿ“˜ About Me"):
profile_btn = gr.Button("Load My Profile")
profile_output = gr.Markdown()
profile_btn.click(get_profile, outputs=profile_output)
with gr.Tab("๐Ÿ“ฌ Say Something"):
user_input = gr.Textbox(label="Your Message to Kotresha", placeholder="Drop your thoughts here...")
submit_btn = gr.Button("Submit")
reply_output = gr.Textbox(label="Response")
submit_btn.click(respond_to_message, inputs=user_input, outputs=reply_output)
with gr.Tab("๐Ÿ“ˆ Mission"):
gr.Markdown("""
## My Mission
- Build Indiaโ€™s most powerful AI Data Center
- Digitally revolutionize healthcare with blockchain
- Spread tech literacy in Kannada across the globe
- Keep grinding until the mind breaks, then rebuild it twice as hard.
""")
# Launch app
if __name__ == "__main__":
app.launch()