Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from fastapi import FastAPI
|
2 |
+
|
3 |
+
app = FastAPI()
|
4 |
+
|
5 |
+
@app.get("/")
|
6 |
+
|
7 |
+
#pip install transformers datasets evaluate rouge_score
|
8 |
+
|
9 |
+
from datasets import load_dataset
|
10 |
+
|
11 |
+
billsum = load_dataset("billsum", split="ca_test")
|
12 |
+
|
13 |
+
billsum
|