Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,4 +8,4 @@ app = FastAPI()
|
|
8 |
def summarize():
|
9 |
# Example: Loading a dataset as part of the API
|
10 |
billsum = load_dataset("billsum", split="ca_test")
|
11 |
-
return {"Hello": "World!", "dataset_length": len(billsum
|
|
|
8 |
def summarize():
|
9 |
# Example: Loading a dataset as part of the API
|
10 |
billsum = load_dataset("billsum", split="ca_test")
|
11 |
+
return {"Hello": "World!", "dataset_length": len(billsum)}
|