mrcuddle commited on
Commit
4c38f99
·
verified ·
1 Parent(s): 4132f1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,9 +14,9 @@ def convert_parquet_to_jsonl(parquet_file_or_url):
14
  jsonl_data = df.to_json(orient='records', lines=True)
15
  return jsonl_data
16
 
17
- demo = gr.Interface(
18
  fn=convert_parquet_to_jsonl,
19
- inputs=[gr.File(label="Parquet File") | gr.Textbox(label="Parquet File URL")],
20
  outputs=[gr.Textbox(label="JSONL Output")],
21
  title="Parquet to JSONL Converter",
22
  description="Input a Parquet file by a downloadable link or file upload and convert it to JSONL format"
 
14
  jsonl_data = df.to_json(orient='records', lines=True)
15
  return jsonl_data
16
 
17
+ demo = gr.Interface((theme=Ythemes/Minecraft)
18
  fn=convert_parquet_to_jsonl,
19
+ inputs=[gr.File(label="Parquet File"), gr.Textbox(label="Parquet File URL")],
20
  outputs=[gr.Textbox(label="JSONL Output")],
21
  title="Parquet to JSONL Converter",
22
  description="Input a Parquet file by a downloadable link or file upload and convert it to JSONL format"