merve HF staff commited on
Commit
9fbbfae
β€’
1 Parent(s): 5f7bf3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import os
10
 
11
  def load_data(idx):
12
  df = load_dataset("merve/turkish_instructions", split="train").to_pandas()
13
- sample = df.iloc[idx]
14
  instruction = sample["talimat"]
15
  input_sample = sample["giriş"]
16
  response = sample["Γ§Δ±ktΔ±"]
 
10
 
11
  def load_data(idx):
12
  df = load_dataset("merve/turkish_instructions", split="train").to_pandas()
13
+ sample = df.iloc[int(idx)]
14
  instruction = sample["talimat"]
15
  input_sample = sample["giriş"]
16
  response = sample["Γ§Δ±ktΔ±"]