AMR-KELEG commited on
Commit
0fff614
·
1 Parent(s): 1720880

Fix the package's versions

Browse files
Files changed (3) hide show
  1. README.md +1 -0
  2. app.py +2 -2
  3. requirements.txt +3 -3
README.md CHANGED
@@ -8,6 +8,7 @@ sdk_version: 1.27.2
8
  app_file: app.py
9
  pinned: true
10
  tags: [Arabic]
 
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
8
  app_file: app.py
9
  pinned: true
10
  tags: [Arabic]
11
+ python_version: 3.9.16
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -122,8 +122,8 @@ with tab1:
122
  # TODO: Check if this is needed!
123
  clicked = st.button("Submit")
124
 
125
- remove_urls = st.toggle("Remove urls", value=True)
126
- remove_latin = st.toggle("Remove Latin characters", value=True)
127
 
128
  if sent:
129
  ALDi_score = compute_ALDi(
 
122
  # TODO: Check if this is needed!
123
  clicked = st.button("Submit")
124
 
125
+ remove_urls = st.toggle("Remove urls")
126
+ remove_latin = st.toggle("Remove Latin characters")
127
 
128
  if sent:
129
  ALDi_score = compute_ALDi(
requirements.txt CHANGED
@@ -1,3 +1,3 @@
1
- transformers
2
- torch
3
- matplotlib
 
1
+ torch==1.13.1
2
+ transformers[torch]==4.26.1
3
+ matplotlib==3.7.0