Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ class ArgillaLogger(FlaggingCallback):
|
|
| 63 |
rg.log(name=self.dataset_name, records=create_record(text, flag_option))
|
| 64 |
|
| 65 |
|
| 66 |
-
idx_input = gr.Slider(minimum=0, maximum=51564)
|
| 67 |
instruction = gr.Textbox(label="Talimat")
|
| 68 |
input_sample = gr.Textbox(label="Girdi")
|
| 69 |
response = gr.Textbox(label="Çıktı")
|
|
@@ -72,7 +72,7 @@ response = gr.Textbox(label="Çıktı")
|
|
| 72 |
gr.Interface(
|
| 73 |
load_data,
|
| 74 |
title = "ALPACA Veriseti Düzeltme Arayüzü",
|
| 75 |
-
description = "Bir satır sayısı verip örnek alın.",
|
| 76 |
allow_flagging="manual",
|
| 77 |
flagging_callback=ArgillaLogger(
|
| 78 |
api_url="https://sandbox.argilla.io",
|
|
|
|
| 63 |
rg.log(name=self.dataset_name, records=create_record(text, flag_option))
|
| 64 |
|
| 65 |
|
| 66 |
+
idx_input = gr.Slider(minimum=0, maximum=51564, label="Satır")
|
| 67 |
instruction = gr.Textbox(label="Talimat")
|
| 68 |
input_sample = gr.Textbox(label="Girdi")
|
| 69 |
response = gr.Textbox(label="Çıktı")
|
|
|
|
| 72 |
gr.Interface(
|
| 73 |
load_data,
|
| 74 |
title = "ALPACA Veriseti Düzeltme Arayüzü",
|
| 75 |
+
description = "Bir satır sayısı verip örnek alın. Çeviride gözünüze doğru gelmeyen bir şey olursa işaretleyin.",
|
| 76 |
allow_flagging="manual",
|
| 77 |
flagging_callback=ArgillaLogger(
|
| 78 |
api_url="https://sandbox.argilla.io",
|