UMESH266 commited on
Commit ·
626cb98
1
Parent(s): 6c245ef
requirements updated
Browse files- app.py +0 -1
- requirements.txt +1 -2
- src/components/docchat.py +3 -3
- src/components/textprocess.py +3 -3
app.py
CHANGED
|
@@ -4,7 +4,6 @@ from streamlit_option_menu import option_menu
|
|
| 4 |
from src.components.avatarsys import AvatarSystem
|
| 5 |
from src.utils.accessory import play_speech, listen, save_output, load_output
|
| 6 |
import speech_recognition as sr
|
| 7 |
-
import pickle
|
| 8 |
|
| 9 |
# Global
|
| 10 |
salutation = "Pleasure meeting you. Have a nice day!"
|
|
|
|
| 4 |
from src.components.avatarsys import AvatarSystem
|
| 5 |
from src.utils.accessory import play_speech, listen, save_output, load_output
|
| 6 |
import speech_recognition as sr
|
|
|
|
| 7 |
|
| 8 |
# Global
|
| 9 |
salutation = "Pleasure meeting you. Have a nice day!"
|
requirements.txt
CHANGED
|
@@ -4,7 +4,6 @@ torch
|
|
| 4 |
transformers
|
| 5 |
pillow
|
| 6 |
opencv-python
|
| 7 |
-
os-sys==2.1.4
|
| 8 |
python-dotenv
|
| 9 |
langchain_huggingface
|
| 10 |
scipy
|
|
@@ -14,4 +13,4 @@ SpeechRecognition
|
|
| 14 |
pyttsx3
|
| 15 |
streamlit
|
| 16 |
streamlit-option-menu
|
| 17 |
-
|
|
|
|
| 4 |
transformers
|
| 5 |
pillow
|
| 6 |
opencv-python
|
|
|
|
| 7 |
python-dotenv
|
| 8 |
langchain_huggingface
|
| 9 |
scipy
|
|
|
|
| 13 |
pyttsx3
|
| 14 |
streamlit
|
| 15 |
streamlit-option-menu
|
| 16 |
+
os-sys
|
src/components/docchat.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
# Text generation
|
| 2 |
from src.logger.logger import logging
|
| 3 |
from src.exception.exception import customexception
|
| 4 |
-
import os
|
| 5 |
-
from dotenv import load_dotenv
|
| 6 |
-
load_dotenv()
|
| 7 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 8 |
|
| 9 |
# Text generation model
|
|
|
|
| 1 |
# Text generation
|
| 2 |
from src.logger.logger import logging
|
| 3 |
from src.exception.exception import customexception
|
| 4 |
+
# import os
|
| 5 |
+
# from dotenv import load_dotenv
|
| 6 |
+
# load_dotenv()
|
| 7 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 8 |
|
| 9 |
# Text generation model
|
src/components/textprocess.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
# Text generation
|
| 2 |
from src.logger.logger import logging
|
| 3 |
from src.exception.exception import customexception
|
| 4 |
-
import os
|
| 5 |
-
from dotenv import load_dotenv
|
| 6 |
-
load_dotenv()
|
| 7 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 8 |
|
| 9 |
# Text generation model
|
|
|
|
| 1 |
# Text generation
|
| 2 |
from src.logger.logger import logging
|
| 3 |
from src.exception.exception import customexception
|
| 4 |
+
# import os
|
| 5 |
+
# from dotenv import load_dotenv
|
| 6 |
+
# load_dotenv()
|
| 7 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 8 |
|
| 9 |
# Text generation model
|