Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- README.md +8 -6
- app.py +4 -5
- requirements.txt +1 -0
README.md
CHANGED
|
@@ -1,12 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Action Item Extractor
|
| 3 |
+
emoji: 🔥
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 3.50.2
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Action Item & Deadline Extractor
|
| 13 |
+
|
| 14 |
+
A powerful tool that extracts action items, assignees, and deadlines from meeting transcripts.
|
app.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import re
|
| 3 |
import datefinder
|
| 4 |
-
from datetime import datetime
|
| 5 |
|
| 6 |
class AdvancedActionItemExtractor:
|
| 7 |
def __init__(self):
|
|
@@ -54,13 +53,13 @@ def extract_action_items(text):
|
|
| 54 |
action_items = extractor.extract(text)
|
| 55 |
return extractor.format_output(action_items)
|
| 56 |
|
| 57 |
-
|
| 58 |
fn=extract_action_items,
|
| 59 |
-
inputs=gr.Textbox(lines=5, placeholder="Paste meeting transcript here...
|
| 60 |
outputs=gr.Textbox(lines=10, label="Extracted Action Items"),
|
| 61 |
title="Action Item & Deadline Extractor",
|
| 62 |
-
|
| 63 |
)
|
| 64 |
|
| 65 |
if __name__ == "__main__":
|
| 66 |
-
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import re
|
| 3 |
import datefinder
|
|
|
|
| 4 |
|
| 5 |
class AdvancedActionItemExtractor:
|
| 6 |
def __init__(self):
|
|
|
|
| 53 |
action_items = extractor.extract(text)
|
| 54 |
return extractor.format_output(action_items)
|
| 55 |
|
| 56 |
+
demo = gr.Interface(
|
| 57 |
fn=extract_action_items,
|
| 58 |
+
inputs=gr.Textbox(lines=5, placeholder="Paste meeting transcript here...\nExample: Mike will set up Flask project by Oct 5."),
|
| 59 |
outputs=gr.Textbox(lines=10, label="Extracted Action Items"),
|
| 60 |
title="Action Item & Deadline Extractor",
|
| 61 |
+
description="Extract action items, assignees, and deadlines from meeting transcripts"
|
| 62 |
)
|
| 63 |
|
| 64 |
if __name__ == "__main__":
|
| 65 |
+
demo.launch()
|
requirements.txt
CHANGED
|
@@ -1,2 +1,3 @@
|
|
| 1 |
regex>=2022.3.15
|
| 2 |
datefinder>=0.7.1
|
|
|
|
|
|
| 1 |
regex>=2022.3.15
|
| 2 |
datefinder>=0.7.1
|
| 3 |
+
gradio>=3.0.0
|