Spaces:
Running
Running
remove version constraint on pip opencv
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def text_to_video(
|
|
| 22 |
|
| 23 |
def predict(text: str, text_language: str, sign_language: str):
|
| 24 |
try:
|
| 25 |
-
path = "
|
| 26 |
text_to_video(text, text_language, sign_language, output_path=path, codec="mp4v")
|
| 27 |
return path
|
| 28 |
except Exception as exc:
|
|
|
|
| 22 |
|
| 23 |
def predict(text: str, text_language: str, sign_language: str):
|
| 24 |
try:
|
| 25 |
+
path = "output.mp4"
|
| 26 |
text_to_video(text, text_language, sign_language, output_path=path, codec="mp4v")
|
| 27 |
return path
|
| 28 |
except Exception as exc:
|
requirements.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
sign-language-translator
|
| 2 |
-
opencv-python
|
|
|
|
| 1 |
sign-language-translator
|
| 2 |
+
opencv-python
|