Spaces:
Running
Running
jisubae
commited on
Commit
Β·
2e50df9
1
Parent(s):
87eec44
chore: requirements.txt
Browse files- app.py +5 -4
- environment.yml +1 -1
- requirements.txt +14 -22
app.py
CHANGED
|
@@ -31,8 +31,7 @@ def create_interface():
|
|
| 31 |
css_content = load_css()
|
| 32 |
|
| 33 |
with gr.Blocks(
|
| 34 |
-
title="Ko-FreshQA Leaderboard"
|
| 35 |
-
theme=gr.themes.Soft()
|
| 36 |
) as app:
|
| 37 |
gr.HTML(f"<style>{css_content}</style>")
|
| 38 |
gr.Markdown("# Ko-FreshQA Leaderboard")
|
|
@@ -87,7 +86,8 @@ def main():
|
|
| 87 |
server_port=7860,
|
| 88 |
share=False,
|
| 89 |
debug=False,
|
| 90 |
-
show_error=True
|
|
|
|
| 91 |
)
|
| 92 |
else:
|
| 93 |
print("π» λ‘컬 νκ²½μμ μ€ν μ€...")
|
|
@@ -96,7 +96,8 @@ def main():
|
|
| 96 |
server_port=7860,
|
| 97 |
share=False,
|
| 98 |
debug=True,
|
| 99 |
-
show_error=True
|
|
|
|
| 100 |
)
|
| 101 |
|
| 102 |
|
|
|
|
| 31 |
css_content = load_css()
|
| 32 |
|
| 33 |
with gr.Blocks(
|
| 34 |
+
title="Ko-FreshQA Leaderboard"
|
|
|
|
| 35 |
) as app:
|
| 36 |
gr.HTML(f"<style>{css_content}</style>")
|
| 37 |
gr.Markdown("# Ko-FreshQA Leaderboard")
|
|
|
|
| 86 |
server_port=7860,
|
| 87 |
share=False,
|
| 88 |
debug=False,
|
| 89 |
+
show_error=True,
|
| 90 |
+
theme=gr.themes.Soft()
|
| 91 |
)
|
| 92 |
else:
|
| 93 |
print("π» λ‘컬 νκ²½μμ μ€ν μ€...")
|
|
|
|
| 96 |
server_port=7860,
|
| 97 |
share=False,
|
| 98 |
debug=True,
|
| 99 |
+
show_error=True,
|
| 100 |
+
theme=gr.themes.Soft()
|
| 101 |
)
|
| 102 |
|
| 103 |
|
environment.yml
CHANGED
|
@@ -9,7 +9,7 @@ dependencies:
|
|
| 9 |
- pandas>=2.0.0
|
| 10 |
- requests>=2.25.0
|
| 11 |
- pip:
|
| 12 |
-
- gradio
|
| 13 |
- plotly>=5.0.0
|
| 14 |
- pytz>=2023.3
|
| 15 |
- python-dateutil>=2.8.0
|
|
|
|
| 9 |
- pandas>=2.0.0
|
| 10 |
- requests>=2.25.0
|
| 11 |
- pip:
|
| 12 |
+
- gradio==6.0.1
|
| 13 |
- plotly>=5.0.0
|
| 14 |
- pytz>=2023.3
|
| 15 |
- python-dateutil>=2.8.0
|
requirements.txt
CHANGED
|
@@ -1,36 +1,28 @@
|
|
| 1 |
# Core dependencies for Hugging Face Spaces
|
| 2 |
-
gradio[oauth]==
|
| 3 |
-
huggingface_hub
|
| 4 |
-
pandas
|
| 5 |
-
numpy
|
| 6 |
-
plotly
|
| 7 |
|
| 8 |
# API and web processing
|
| 9 |
-
requests
|
| 10 |
-
httpx
|
| 11 |
|
| 12 |
# Date and time handling
|
| 13 |
-
pytz
|
| 14 |
-
python-dateutil
|
| 15 |
|
| 16 |
# Data processing
|
| 17 |
-
openpyxl
|
| 18 |
-
chardet
|
| 19 |
|
| 20 |
# Progress and logging
|
| 21 |
tqdm>=4.65.0
|
| 22 |
|
| 23 |
# FreshQA evaluation
|
| 24 |
-
openai
|
| 25 |
-
tabulate
|
| 26 |
|
| 27 |
# Environment variables
|
| 28 |
-
python-dotenv
|
| 29 |
-
|
| 30 |
-
# Optional: Korean language processing (commented out for faster deployment)
|
| 31 |
-
# konlpy>=0.6.0
|
| 32 |
-
|
| 33 |
-
# Optional: Heavy ML dependencies (commented out for faster deployment)
|
| 34 |
-
# torch>=2.0.0
|
| 35 |
-
# transformers>=4.30.0
|
| 36 |
-
# accelerate>=0.20.0
|
|
|
|
| 1 |
# Core dependencies for Hugging Face Spaces
|
| 2 |
+
gradio[oauth]==6.0.1
|
| 3 |
+
huggingface_hub==0.35.3
|
| 4 |
+
pandas==2.3.3
|
| 5 |
+
numpy==2.2.6
|
| 6 |
+
plotly==6.3.1
|
| 7 |
|
| 8 |
# API and web processing
|
| 9 |
+
requests==2.32.5
|
| 10 |
+
httpx==0.28.1
|
| 11 |
|
| 12 |
# Date and time handling
|
| 13 |
+
pytz==2025.2
|
| 14 |
+
python-dateutil==2.9.0.post0
|
| 15 |
|
| 16 |
# Data processing
|
| 17 |
+
openpyxl==3.1.5
|
| 18 |
+
chardet==5.2.0
|
| 19 |
|
| 20 |
# Progress and logging
|
| 21 |
tqdm>=4.65.0
|
| 22 |
|
| 23 |
# FreshQA evaluation
|
| 24 |
+
openai==2.6.0
|
| 25 |
+
tabulate==0.9.0
|
| 26 |
|
| 27 |
# Environment variables
|
| 28 |
+
python-dotenv==1.1.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|