|
|
import gradio as gr
|
|
|
|
|
|
|
|
|
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.โ
|
|
|
"""
|
|
|
|
|
|
|
|
|
def respond_to_message(message):
|
|
|
return f"๐ฅ Thanks for the message! Kotresha Chavadihindala never backs down. Your words will fuel the fire."
|
|
|
|
|
|
|
|
|
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.
|
|
|
""")
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
app.launch()
|
|
|
|