Spaces:
Sleeping
Sleeping
File size: 2,224 Bytes
735d817 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
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()
|