Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -202,19 +202,22 @@ def expand_research(df: pd.DataFrame) -> pd.DataFrame:
|
|
| 202 |
|
| 203 |
|
| 204 |
with gr.Blocks(
|
| 205 |
-
title="everyrow
|
| 206 |
css=".error-box { background: #fee; border: 1px solid #c00; border-radius: 8px; padding: 12px; color: #900; }",
|
| 207 |
) as demo:
|
| 208 |
gr.Markdown(
|
| 209 |
"""
|
| 210 |
-
# everyrow
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
|
|
|
|
|
|
| 215 |
"""
|
| 216 |
)
|
| 217 |
|
|
|
|
| 218 |
api_key = gr.Textbox(
|
| 219 |
label="everyrow API key",
|
| 220 |
type="password",
|
|
@@ -227,8 +230,8 @@ with gr.Blocks(
|
|
| 227 |
preview_table = gr.Dataframe(label="Input preview", visible=False)
|
| 228 |
|
| 229 |
query = gr.Textbox(
|
| 230 |
-
label="
|
| 231 |
-
placeholder="e.g.
|
| 232 |
lines=3,
|
| 233 |
)
|
| 234 |
|
|
@@ -242,8 +245,7 @@ with gr.Blocks(
|
|
| 242 |
# --- Output fields form builder ---
|
| 243 |
gr.Markdown("### Output fields")
|
| 244 |
gr.Markdown(
|
| 245 |
-
"*Define
|
| 246 |
-
"Leave empty for the default answer column.*"
|
| 247 |
)
|
| 248 |
|
| 249 |
fields_state = gr.State([])
|
|
|
|
| 202 |
|
| 203 |
|
| 204 |
with gr.Blocks(
|
| 205 |
+
title="everyrow annotate – AI Data Annotation & Web Research",
|
| 206 |
css=".error-box { background: #fee; border: 1px solid #c00; border-radius: 8px; padding: 12px; color: #900; }",
|
| 207 |
) as demo:
|
| 208 |
gr.Markdown(
|
| 209 |
"""
|
| 210 |
+
# 🏷️ everyrow annotate – AI Data Annotation & Web Research
|
| 211 |
+
|
| 212 |
+
**everyrow annotate** uses AI research agents to **label, verify, and enrich data** row by row using live web information.
|
| 213 |
+
|
| 214 |
+
Upload a CSV, describe what you want to annotate or find, and get structured results for every row — perfect for **data annotation, dataset enrichment, and research at scale**.
|
| 215 |
+
|
| 216 |
+
🔑 Get your API key at [everyrow.io/api-key](https://everyrow.io/api-key) ($20 free credit).
|
| 217 |
"""
|
| 218 |
)
|
| 219 |
|
| 220 |
+
|
| 221 |
api_key = gr.Textbox(
|
| 222 |
label="everyrow API key",
|
| 223 |
type="password",
|
|
|
|
| 230 |
preview_table = gr.Dataframe(label="Input preview", visible=False)
|
| 231 |
|
| 232 |
query = gr.Textbox(
|
| 233 |
+
label="Annotation or research instruction",
|
| 234 |
+
placeholder="e.g. Label each company’s industry and whether it is B2B or B2C",
|
| 235 |
lines=3,
|
| 236 |
)
|
| 237 |
|
|
|
|
| 245 |
# --- Output fields form builder ---
|
| 246 |
gr.Markdown("### Output fields")
|
| 247 |
gr.Markdown(
|
| 248 |
+
"*Define the structured fields you want the AI to annotate for each row. Leave empty to return a single answer column.*"
|
|
|
|
| 249 |
)
|
| 250 |
|
| 251 |
fields_state = gr.State([])
|