Hellisotherpeople commited on
Commit
8bf4041
1 Parent(s): 6b35a2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,7 +44,7 @@ oracle_submitted = oracle_form.form_submit_button("Generate API Key")
44
 
45
  dataset_form = st.form("dataset")
46
  dataset_form.write("Dataset Settings")
47
- dataset_name = dataset_form.text_area("Enter the name of the huggingface Dataset:", value = "Hellisotherpeople/DebateSum")
48
  dataset_name_2 = dataset_form.text_area("Enter the name of the config for the dataset if it has one", value = "")
49
  split_name = dataset_form.text_area("Enter the name of the split of the dataset that you want to use", value = "train")
50
  pd_checkbox = dataset_form.checkbox("Check this if you want this to be a pandas dataframe instead of a HF Dataset Object")
@@ -103,7 +103,7 @@ if dataset_submitted:
103
  hf_dataset = pd.DataFrame.from_dict(hf_dataset)
104
  st.write(hf_dataset)
105
  st.write("Dataset Pulled Succesfully!")
106
- oci_config = oci.config.from_file("~/.oci/config", profile_name = "USER")
107
  object_storage = object_storage.ObjectStorageClient(oci_config)
108
  st.write("Object Storage Connected Succesfully")
109
  namespace = object_storage.get_namespace().data
 
44
 
45
  dataset_form = st.form("dataset")
46
  dataset_form.write("Dataset Settings")
47
+ dataset_name = dataset_form.text_area("Enter the name of the huggingface Dataset:", value = "biosses")
48
  dataset_name_2 = dataset_form.text_area("Enter the name of the config for the dataset if it has one", value = "")
49
  split_name = dataset_form.text_area("Enter the name of the split of the dataset that you want to use", value = "train")
50
  pd_checkbox = dataset_form.checkbox("Check this if you want this to be a pandas dataframe instead of a HF Dataset Object")
 
103
  hf_dataset = pd.DataFrame.from_dict(hf_dataset)
104
  st.write(hf_dataset)
105
  st.write("Dataset Pulled Succesfully!")
106
+ oci_config = oci.config.from_file(".oci/config", profile_name = "USER")
107
  object_storage = object_storage.ObjectStorageClient(oci_config)
108
  st.write("Object Storage Connected Succesfully")
109
  namespace = object_storage.get_namespace().data