Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def handle_validation(uploaded_file_obj):
|
|
74 |
# --- Gradio Interface Definition ---
|
75 |
iface = gr.Interface(
|
76 |
fn=handle_validation,
|
77 |
-
inputs=gr.File(label="Upload TSV File (.tsv)", file_types=[".tsv"]),
|
78 |
outputs=gr.Textbox(label="Validation Result", lines=15, show_copy_button=True),
|
79 |
title="TSV Timestamp Validator",
|
80 |
description="Upload a TSV file with columns: `start_timestamp` (tab) `end_timestamp` (tab) `text`. "
|
|
|
74 |
# --- Gradio Interface Definition ---
|
75 |
iface = gr.Interface(
|
76 |
fn=handle_validation,
|
77 |
+
inputs=gr.File(label="Upload TSV File (.tsv or .txt)", file_types=[".tsv", ".txt"]),
|
78 |
outputs=gr.Textbox(label="Validation Result", lines=15, show_copy_button=True),
|
79 |
title="TSV Timestamp Validator",
|
80 |
description="Upload a TSV file with columns: `start_timestamp` (tab) `end_timestamp` (tab) `text`. "
|