kargaranamir commited on
Commit
28ee56e
·
1 Parent(s): f4b2839

update and fix python packages

Browse files
Files changed (5) hide show
  1. README.md +1 -0
  2. app.py +0 -1
  3. apt.txt +10 -0
  4. requirements.txt +14 -3
  5. runtime.txt +1 -0
README.md CHANGED
@@ -8,5 +8,6 @@ sdk_version: 1.27.2
8
  app_file: app.py
9
  pinned: true
10
  tags: [multilingual]
 
11
  ---
12
 
 
8
  app_file: app.py
9
  pinned: true
10
  tags: [multilingual]
11
+ python_version: "3.10"
12
  ---
13
 
app.py CHANGED
@@ -112,7 +112,6 @@ def render_metadata():
112
  html = r"""<p align="center">
113
  <a href="https://huggingface.co/cis-lmu/glotlid"><img alt="HuggingFace Model" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-8A2BE2"></a>
114
  <a href="https://github.com/cisnlp/GlotLID"><img alt="GitHub" src="https://img.shields.io/badge/%F0%9F%93%A6%20GitHub-orange"></a>
115
- <a href="https://github.com/cisnlp/GlotLID/blob/main/LICENSE"><img alt="GitHub license" src="https://img.shields.io/github/license/cisnlp/GlotLID?logoColor=blue"></a>
116
  <a href="https://github.com/cisnlp/GlotLID"><img alt="GitHub stars" src="https://img.shields.io/github/stars/cisnlp/GlotLID"></a>
117
  <a href="https://arxiv.org/abs/2310.16248"><img alt="arXiv" src="https://img.shields.io/badge/arXiv-2310.16248-b31b1b.svg"></a>
118
  </p>"""
 
112
  html = r"""<p align="center">
113
  <a href="https://huggingface.co/cis-lmu/glotlid"><img alt="HuggingFace Model" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-8A2BE2"></a>
114
  <a href="https://github.com/cisnlp/GlotLID"><img alt="GitHub" src="https://img.shields.io/badge/%F0%9F%93%A6%20GitHub-orange"></a>
 
115
  <a href="https://github.com/cisnlp/GlotLID"><img alt="GitHub stars" src="https://img.shields.io/github/stars/cisnlp/GlotLID"></a>
116
  <a href="https://arxiv.org/abs/2310.16248"><img alt="arXiv" src="https://img.shields.io/badge/arXiv-2310.16248-b31b1b.svg"></a>
117
  </p>"""
apt.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ build-essential
2
+ cmake
3
+ python3-dev
4
+ git
5
+ git-lfs
6
+ ffmpeg
7
+ libsm6
8
+ libxext6
9
+ libgl1
10
+ rsync
requirements.txt CHANGED
@@ -1,3 +1,14 @@
1
- fasttext
2
- huggingface_hub
3
- GlotScript
 
 
 
 
 
 
 
 
 
 
 
 
1
+ numpy<2
2
+ pybind11
3
+ fasttext==0.9.3
4
+ datasets
5
+ huggingface-hub>=0.30
6
+ hf-transfer>=0.1.4
7
+ protobuf<4
8
+ click<8.1
9
+ streamlit==1.27.2
10
+ uvicorn>=0.14.0
11
+ websockets>=10.4
12
+ spaces
13
+ GlotScript
14
+ matplotlib
runtime.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ python-3.10