Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,11 @@ client = AzureOpenAI(
|
|
37 |
api_key="9639718f1a7d478a9313d2b2aeb5dacc",
|
38 |
api_version="2024-02-15-preview"
|
39 |
)
|
40 |
-
|
|
|
|
|
|
|
|
|
41 |
|
42 |
warnings.filterwarnings("ignore")
|
43 |
|
|
|
37 |
api_key="9639718f1a7d478a9313d2b2aeb5dacc",
|
38 |
api_version="2024-02-15-preview"
|
39 |
)
|
40 |
+
|
41 |
+
data_files = {"default": "Data.csv"}
|
42 |
+
dataset = load_dataset("UAEBot/LegislationData_BaseIndex", data_files='data/Data.csv')
|
43 |
+
|
44 |
+
df = dataset['train'].to_pandas()
|
45 |
|
46 |
warnings.filterwarnings("ignore")
|
47 |
|