rcook commited on
Commit
2b21c26
·
verified ·
1 Parent(s): 58f393d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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["train"])}
 
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)}