Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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Δ±"]
|