Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -145,7 +145,7 @@ ARTICLES:
|
|
| 145 |
|
| 146 |
with gr.Blocks(title="Founder Name Extraction Tool", theme=gr.themes.Soft()) as demo:
|
| 147 |
gr.Markdown("# π Founder Name Extraction")
|
| 148 |
-
gr.Markdown("A tool to find company founders. **Step 1:** Enter your API key and company name. **Step 2:** Search for articles. **Step 3:** Extract founders' names from the results.")
|
| 149 |
|
| 150 |
# Hidden state to pass text from search to extraction
|
| 151 |
search_results_for_ai = gr.State("")
|
|
@@ -162,7 +162,7 @@ with gr.Blocks(title="Founder Name Extraction Tool", theme=gr.themes.Soft()) as
|
|
| 162 |
placeholder="e.g., 'OpenAI', 'SpaceX'",
|
| 163 |
scale=2
|
| 164 |
)
|
| 165 |
-
search_btn = gr.Button("2. π Search for Articles", variant="primary", scale=1)
|
| 166 |
|
| 167 |
with gr.Row():
|
| 168 |
extract_btn = gr.Button("3. π Extract Founders from Search Results", variant="secondary")
|
|
|
|
| 145 |
|
| 146 |
with gr.Blocks(title="Founder Name Extraction Tool", theme=gr.themes.Soft()) as demo:
|
| 147 |
gr.Markdown("# π Founder Name Extraction")
|
| 148 |
+
gr.Markdown("A tool to find the names of company founders. **Step 1:** Enter your API key and company name. **Step 2:** Search for articles. **Step 3:** Extract founders' names from the results.")
|
| 149 |
|
| 150 |
# Hidden state to pass text from search to extraction
|
| 151 |
search_results_for_ai = gr.State("")
|
|
|
|
| 162 |
placeholder="e.g., 'OpenAI', 'SpaceX'",
|
| 163 |
scale=2
|
| 164 |
)
|
| 165 |
+
search_btn = gr.Button("2. π Search for Articles (Uses DuckDuckGo)", variant="primary", scale=1)
|
| 166 |
|
| 167 |
with gr.Row():
|
| 168 |
extract_btn = gr.Button("3. π Extract Founders from Search Results", variant="secondary")
|