Spaces:
Runtime error
Runtime error
HusnaManakkot
commited on
Commit
β’
2ef8e41
1
Parent(s):
910b6a0
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
|
3 |
from datasets import load_dataset
|
4 |
|
5 |
# Load the Spider dataset
|
6 |
-
spider_dataset = load_dataset("
|
7 |
|
8 |
# Extract schema information from the Spider dataset
|
9 |
table_names = set()
|
|
|
3 |
from datasets import load_dataset
|
4 |
|
5 |
# Load the Spider dataset
|
6 |
+
spider_dataset = load_dataset("wikisql", split='train') # Load a subset of the dataset
|
7 |
|
8 |
# Extract schema information from the Spider dataset
|
9 |
table_names = set()
|