mrcuddle commited on
Commit
3d7aa14
1 Parent(s): 49e25d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,7 +1,9 @@
1
  import gradio as gr
2
  import pandas as pd
3
  import requests
 
4
 
 
5
  def convert_parquet_to_jsonl(parquet_file=None, parquet_url=None):
6
  if parquet_file is not None:
7
  df = pd.read_parquet(parquet_file.name)
 
1
  import gradio as gr
2
  import pandas as pd
3
  import requests
4
+ import spaces
5
 
6
+ @spaces.GPU
7
  def convert_parquet_to_jsonl(parquet_file=None, parquet_url=None):
8
  if parquet_file is not None:
9
  df = pd.read_parquet(parquet_file.name)