Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import argilla as rg
|
|
| 9 |
import os
|
| 10 |
|
| 11 |
def load_data(idx):
|
| 12 |
-
|
| 13 |
sample = df.iloc[idx]
|
| 14 |
instruction = sample["talimat"]
|
| 15 |
input_sample = sample["giriΕ"]
|
|
|
|
| 9 |
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Ε"]
|