NexaHub / app.py
Allanatrix's picture
Update app.py
f4241e8 verified
raw
history blame
1.73 kB
import gradio as gr
# Descriptions for each Nexa product
nexa_descriptions = {
"Nexa Data Studio": "A full-stack data engineering suite for scientific ML. Includes synthetic dataset generation, tokenization, transformation, and pipeline automation.",
"Nexa Infrastructure": "A toolkit of infrastructure tools for ML optimization, compiler-level graph tuning, and CLI-based control systems (e.g., PyC, tuning scripts).",
"Nexa R&D": "A sandbox for experimental research and software on novel AI methods, such as hybrid optimizers, annealing schedulers, and architecture experiments."
}
nexa_links = {
"Nexa Data Studio": "https://huggingface.co/spaces/Allanatrix/Nexa-Data-Studio",
"Nexa Infrastructure": "https://huggingface.co/spaces/Allanatrix/Nexa-Infrastructure",
"Nexa R&D": "https://huggingface.co/spaces/Allanatrix/Nexa-R&D"
}
def show_details(product):
return f"### {product}\n\n{nexa_descriptions[product]}\n\nπŸ”— [Go to {product}]({nexa_links[product]})"
with gr.Blocks(title="Nexa Hub: Unified Platform for Scientific AI") as demo:
gr.Markdown("""
# πŸš€ Nexa Hub
Welcome to **Nexa Hub**, the central interface for all Nexa tools.
Explore the modules below to learn more about each product and navigate to its dedicated space.
""")
with gr.Row():
product_dropdown = gr.Dropdown(label="Choose a Nexa Product", choices=list(nexa_descriptions.keys()))
output = gr.Markdown()
product_dropdown.change(fn=show_details, inputs=product_dropdown, outputs=output)
gr.Markdown("---")
gr.Markdown("Built and maintained by Allan using open tooling, zero funding, and high-leverage engineering.")
if __name__ == "__main__":
demo.launch()