Proooof commited on
Commit
5c87373
·
verified ·
1 Parent(s): d1e1d13

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -3
README.md CHANGED
@@ -1,3 +1,49 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+ ---
5
+ title: Gradio Contract Analysis App
6
+ emoji: 🏠
7
+ colorFrom: indigo
8
+ colorTo: blue
9
+ sdk: gradio
10
+ sdk_version: "4.44.1"
11
+ app_file: Gradio_Contract_Analysis_App.ipynb
12
+ pinned: true
13
+ license: apache-2.0
14
+ ---
15
+
16
+ # 🏠 Contract Analysis with Gradio
17
+
18
+ This tutorial shows how to build a **contract metadata extraction demo** using **Gradio**.
19
+ It uses simple heuristics and `dateparser` to detect **parties** and **start dates** from lease text.
20
+
21
+ 📓 Notebook included:
22
+ - `Gradio_Contract_Analysis_App.ipynb`
23
+
24
+ ---
25
+
26
+ ## 🚀 What You’ll Learn
27
+ - Write regex & date heuristics to extract contract metadata.
28
+ - Build a Gradio app with textbox input and JSON output.
29
+ - Deploy to Hugging Face Spaces for a live demo.
30
+
31
+ ---
32
+
33
+ ## 🔧 Requirements
34
+ ```bash
35
+ pip install gradio dateparser
36
+ 📊 Example
37
+ Input:
38
+
39
+ pgsql
40
+ Copy code
41
+ This Lease Agreement is made between Landlord X and Tenant Y for the premises at 123 Main St. Commencing on June 1, 2025.
42
+ Output:
43
+
44
+ json
45
+ Copy code
46
+ {
47
+ "parties": ["Landlord X", "Tenant Y"],
48
+ "start_date": "2025-06-01"
49
+ }