Spaces:
Paused
Paused
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
# Narrative
|
4 |
+
narrative = """
|
5 |
+
# π Welcome to Nexa Marketplace
|
6 |
+
|
7 |
+
Scientific Machine Learning is powerful β but painful. Researchers struggle with scattered datasets, slow infra, and confusing tooling.
|
8 |
+
|
9 |
+
**Nexa Marketplace solves this with:**
|
10 |
+
- Pre-curated ML-ready datasets
|
11 |
+
- Simple fine-tuned model consulting
|
12 |
+
- Real tooling for real science
|
13 |
+
"""
|
14 |
+
|
15 |
+
# Dataset offerings
|
16 |
+
datasets = [
|
17 |
+
{
|
18 |
+
"name": "𧬠Protein-Lite",
|
19 |
+
"desc": "1K protein samples (ML-ready)",
|
20 |
+
"price": "$5",
|
21 |
+
"link": "https://buy.stripe.com/test_lite"
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"name": "𧬠Protein-Standard",
|
25 |
+
"desc": "5K protein samples + README",
|
26 |
+
"price": "$20",
|
27 |
+
"link": "https://buy.stripe.com/test_standard"
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"name": "𧬠Protein-Max",
|
31 |
+
"desc": "10K+ protein samples + entropy rank + docs",
|
32 |
+
"price": "$100",
|
33 |
+
"link": "https://buy.stripe.com/test_max"
|
34 |
+
}
|
35 |
+
]
|
36 |
+
|
37 |
+
# Consulting description
|
38 |
+
consulting = """
|
39 |
+
# π‘ LLM + SciML Consulting
|
40 |
+
|
41 |
+
I fine-tune scientific LLMs on research corpora (300K+ instructions), optimize datasets for training, and build custom inference pipelines.
|
42 |
+
|
43 |
+
### π Example
|
44 |
+
- **Model:** Mistral 7B
|
45 |
+
- **Task:** Hypothesis + methodology generation from papers
|
46 |
+
- **Dataset:** 300K SciML instructions
|
47 |
+
|
48 |
+
π© **[Email](mailto:[email protected])** or **[Book Time](https://calendly.com/your-link)** to get started.
|
49 |
+
"""
|
50 |
+
|
51 |
+
# Interface
|
52 |
+
with gr.Blocks(title="Nexa Marketplace") as demo:
|
53 |
+
gr.Markdown(narrative)
|
54 |
+
|
55 |
+
gr.Markdown("## π¦ Datasets")
|
56 |
+
for ds in datasets:
|
57 |
+
with gr.Row():
|
58 |
+
gr.Markdown(f"**{ds['name']}** \n{ds['desc']} \nπ° {ds['price']}")
|
59 |
+
gr.Button("Buy", link=ds["link"])
|
60 |
+
|
61 |
+
gr.Markdown("## π€ Consulting")
|
62 |
+
gr.Markdown(consulting)
|
63 |
+
|
64 |
+
demo.launch()
|