Spaces:
Sleeping
Sleeping
File size: 1,728 Bytes
b83a19a f4241e8 b83a19a |
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 |
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()
|