Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|