merethom commited on
Commit
b272ad2
·
verified ·
1 Parent(s): 7690439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -10,6 +10,10 @@ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
10
  # Load the dataset from Hugging Face
11
  dataset = load_dataset("samhog/psychology-10k", split="train") # Load the training split
12
 
 
 
 
 
13
  def respond(
14
  message,
15
  history: list[tuple[str, str]],
 
10
  # Load the dataset from Hugging Face
11
  dataset = load_dataset("samhog/psychology-10k", split="train") # Load the training split
12
 
13
+ # Inspect the dataset structure
14
+ print("Dataset Columns:", dataset.column_names)
15
+ print("Sample Data:", dataset[0])
16
+
17
  def respond(
18
  message,
19
  history: list[tuple[str, str]],