Spaces:
Runtime error
Runtime error
felix
commited on
Commit
•
c132808
1
Parent(s):
9e746c4
fix
Browse files- app.py +1 -0
- requirements.txt +3 -3
app.py
CHANGED
@@ -189,6 +189,7 @@ def display(x, y):
|
|
189 |
output_file_path = os.path.join(output_dir, 'output.json')
|
190 |
with open(output_file_path, 'w') as file:
|
191 |
file.write(subset_df.to_json(orient='records'))
|
|
|
192 |
first_50_rows = subset_df.head(20)
|
193 |
#print(first_50_rows.to_string())
|
194 |
#json_data = first_50_rows.to_json(orient='records')
|
|
|
189 |
output_file_path = os.path.join(output_dir, 'output.json')
|
190 |
with open(output_file_path, 'w') as file:
|
191 |
file.write(subset_df.to_json(orient='records'))
|
192 |
+
|
193 |
first_50_rows = subset_df.head(20)
|
194 |
#print(first_50_rows.to_string())
|
195 |
#json_data = first_50_rows.to_json(orient='records')
|
requirements.txt
CHANGED
@@ -2,8 +2,8 @@ APScheduler==3.10.1
|
|
2 |
black==23.11.0
|
3 |
click==8.1.3
|
4 |
datasets>=2.14.5
|
5 |
-
gradio>=4.
|
6 |
-
gradio_client>=0.7.
|
7 |
huggingface-hub>=0.18.0
|
8 |
markdown-it-py==2.2.0
|
9 |
MarkupSafe==2.1.2
|
@@ -12,7 +12,7 @@ numpy>=1.24.2
|
|
12 |
pandas>=2.0.0
|
13 |
plotly==5.14.1
|
14 |
python-dateutil==2.8.2
|
15 |
-
requests
|
16 |
sentencepiece
|
17 |
semantic-version==2.10.0
|
18 |
tqdm==4.65.0
|
|
|
2 |
black==23.11.0
|
3 |
click==8.1.3
|
4 |
datasets>=2.14.5
|
5 |
+
gradio>=4.9.1
|
6 |
+
gradio_client>=0.7.3
|
7 |
huggingface-hub>=0.18.0
|
8 |
markdown-it-py==2.2.0
|
9 |
MarkupSafe==2.1.2
|
|
|
12 |
pandas>=2.0.0
|
13 |
plotly==5.14.1
|
14 |
python-dateutil==2.8.2
|
15 |
+
requests>=2.28.2
|
16 |
sentencepiece
|
17 |
semantic-version==2.10.0
|
18 |
tqdm==4.65.0
|