Demosthene-OR
commited on
Commit
•
f9fe9ca
1
Parent(s):
2081ea7
Recherche des version de package et des packages minimaux
Browse files- requirements-save.txt +35 -0
- requirements.txt +4 -4
- tabs/intro.py +12 -2
requirements-save.txt
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
streamlit==1.26.0
|
2 |
+
pandas
|
3 |
+
matplotlib==3.8.2
|
4 |
+
ipython==8.21.0
|
5 |
+
numpy==1.23.5
|
6 |
+
seaborn==0.13.2
|
7 |
+
nltk==3.8.1
|
8 |
+
scikit-learn==1.1.3
|
9 |
+
gensim==4.3.2
|
10 |
+
sacrebleu==2.4.0
|
11 |
+
spacy==3.6.0
|
12 |
+
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0.tar.gz
|
13 |
+
https://github.com/explosion/spacy-models/releases/download/fr_core_news_sm-3.6.0/fr_core_news_sm-3.6.0.tar.gz
|
14 |
+
pillow==9.5.0
|
15 |
+
wordcloud==1.9.3
|
16 |
+
networkx==2.7.0
|
17 |
+
transformers==4.37.2
|
18 |
+
sentencepiece==0.1.99
|
19 |
+
openai-whisper==20231117
|
20 |
+
torch==2.2.0
|
21 |
+
speechrecognition==3.10.1
|
22 |
+
audio_recorder_streamlit==0.0.8
|
23 |
+
whisper==1.1.10
|
24 |
+
wavio==0.0.8
|
25 |
+
filesplit==4.0.1
|
26 |
+
regex==2023.12.25
|
27 |
+
pydot==2.0.0
|
28 |
+
graphviz==0.20.1
|
29 |
+
gTTS==2.5.1
|
30 |
+
https://files.pythonhosted.org/packages/cc/58/96aff0e5cb8b59c06232ea7e249ed902d04ec89f52636f5be06ceb0855fe/extra_streamlit_components-0.1.60-py3-none-any.whl
|
31 |
+
streamlit-option-menu==0.3.12
|
32 |
+
deep-translator==1.11.4
|
33 |
+
requests==2.27.0
|
34 |
+
asyncio
|
35 |
+
aiohttp
|
requirements.txt
CHANGED
@@ -15,8 +15,8 @@ pillow==9.5.0
|
|
15 |
wordcloud==1.9.3
|
16 |
networkx==2.7.0
|
17 |
transformers==4.37.2
|
18 |
-
sentencepiece==0.1.99
|
19 |
-
openai-whisper==20231117
|
20 |
torch==2.2.0
|
21 |
speechrecognition==3.10.1
|
22 |
audio_recorder_streamlit==0.0.8
|
@@ -24,8 +24,8 @@ whisper==1.1.10
|
|
24 |
wavio==0.0.8
|
25 |
filesplit==4.0.1
|
26 |
regex==2023.12.25
|
27 |
-
pydot==2.0.0
|
28 |
-
graphviz==0.20.1
|
29 |
gTTS==2.5.1
|
30 |
https://files.pythonhosted.org/packages/cc/58/96aff0e5cb8b59c06232ea7e249ed902d04ec89f52636f5be06ceb0855fe/extra_streamlit_components-0.1.60-py3-none-any.whl
|
31 |
streamlit-option-menu==0.3.12
|
|
|
15 |
wordcloud==1.9.3
|
16 |
networkx==2.7.0
|
17 |
transformers==4.37.2
|
18 |
+
# sentencepiece==0.1.99
|
19 |
+
# openai-whisper==20231117
|
20 |
torch==2.2.0
|
21 |
speechrecognition==3.10.1
|
22 |
audio_recorder_streamlit==0.0.8
|
|
|
24 |
wavio==0.0.8
|
25 |
filesplit==4.0.1
|
26 |
regex==2023.12.25
|
27 |
+
# pydot==2.0.0
|
28 |
+
# graphviz==0.20.1
|
29 |
gTTS==2.5.1
|
30 |
https://files.pythonhosted.org/packages/cc/58/96aff0e5cb8b59c06232ea7e249ed902d04ec89f52636f5be06ceb0855fe/extra_streamlit_components-0.1.60-py3-none-any.whl
|
31 |
streamlit-option-menu==0.3.12
|
tabs/intro.py
CHANGED
@@ -1,9 +1,18 @@
|
|
1 |
import streamlit as st
|
2 |
from translate_app import tr
|
|
|
3 |
|
4 |
title = "Démosthène"
|
5 |
sidebar_name = "Introduction"
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
def run():
|
9 |
|
@@ -12,7 +21,7 @@ def run():
|
|
12 |
# st.image("https://dst-studio-template.s3.eu-west-3.amazonaws.com/2.gif")
|
13 |
# st.image("https://dst-studio-template.s3.eu-west-3.amazonaws.com/3.gif")
|
14 |
# st.image("assets/tough-communication.gif",use_column_width=True)
|
15 |
-
|
16 |
st.write("")
|
17 |
if st.session_state.Cloud == 0:
|
18 |
st.image("assets/miss-honey-glasses-off.gif",use_column_width=True)
|
@@ -90,4 +99,5 @@ def run():
|
|
90 |
|
91 |
"""
|
92 |
st.markdown(tr(sent), unsafe_allow_html=True)
|
93 |
-
'''
|
|
|
|
1 |
import streamlit as st
|
2 |
from translate_app import tr
|
3 |
+
import pkg_resources
|
4 |
|
5 |
title = "Démosthène"
|
6 |
sidebar_name = "Introduction"
|
7 |
|
8 |
+
def print_dependencies():
|
9 |
+
# Récupérer toutes les distributions installées
|
10 |
+
installed_packages = pkg_resources.working_set
|
11 |
+
|
12 |
+
# Imprimer les dépendances avec leur version
|
13 |
+
print("Dépendances avec leur version :")
|
14 |
+
for package in installed_packages:
|
15 |
+
print(f"{package.key}=={package.version}")
|
16 |
|
17 |
def run():
|
18 |
|
|
|
21 |
# st.image("https://dst-studio-template.s3.eu-west-3.amazonaws.com/2.gif")
|
22 |
# st.image("https://dst-studio-template.s3.eu-west-3.amazonaws.com/3.gif")
|
23 |
# st.image("assets/tough-communication.gif",use_column_width=True)
|
24 |
+
print_dependencies()
|
25 |
st.write("")
|
26 |
if st.session_state.Cloud == 0:
|
27 |
st.image("assets/miss-honey-glasses-off.gif",use_column_width=True)
|
|
|
99 |
|
100 |
"""
|
101 |
st.markdown(tr(sent), unsafe_allow_html=True)
|
102 |
+
'''
|
103 |
+
|