E-slam commited on
Commit
b22851f
1 Parent(s): a53fc08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -37,7 +37,11 @@ client = AzureOpenAI(
37
  api_key="9639718f1a7d478a9313d2b2aeb5dacc",
38
  api_version="2024-02-15-preview"
39
  )
40
- df = pd.read_csv("UAEBot/LegislationData_BaseIndex/data/Data.csv")
 
 
 
 
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