|
import gradio as gr |
|
|
|
|
|
def show_info(section): |
|
if section == "Experiences": |
|
return "Details about Rishiraj's experiences..." |
|
elif section == "Communities": |
|
return "Details about communities Rishiraj is involved in..." |
|
elif section == "Recommendations": |
|
return "Rishiraj's recommendations..." |
|
elif section == "Conferences": |
|
return "Conferences attended by Rishiraj..." |
|
else: |
|
return "Select a section to display information." |
|
|
|
|
|
with gr.Blocks() as app: |
|
with gr.Row(): |
|
with gr.Column(): |
|
gr.Markdown("# Hi π, I'm Rishiraj Acharya (ΰ¦ΰ¦·ΰ¦Ώΰ¦°ΰ¦Ύΰ¦ ΰ¦ΰ¦ΰ¦Ύΰ¦°ΰ§ΰ¦―ΰ§ΰ¦―)") |
|
gr.Markdown("## Google Developer Expert in ML β¨ | Hugging Face Fellow π€ | GSoC '22 at TensorFlow π¨π»βπ¬ | TFUG Kolkata Organizer ποΈ | Kaggle Master π§ | Dynopii ML Engineer π¨π»βπ»") |
|
with gr.Column(): |
|
gr.Image("profile.png") |
|
|
|
with gr.Row(): |
|
section_dropdown = gr.Dropdown(["Experiences", "Communities", "Recommendations", "Conferences"], label="Select Information to Display") |
|
info_display = gr.Textbox(label="Information") |
|
|
|
section_dropdown.change(show_info, inputs=section_dropdown, outputs=info_display) |
|
|
|
|
|
app.launch() |