Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	change numpy version
Browse files- app.py +5 -1
- requirements.txt +1 -1
    	
        app.py
    CHANGED
    
    | @@ -2,9 +2,13 @@ import streamlit as st | |
| 2 | 
             
            import os
         | 
| 3 | 
             
            import sys
         | 
| 4 | 
             
            import torch
         | 
| 5 | 
            -
            import librosa
         | 
| 6 |  | 
|  | |
|  | |
|  | |
| 7 | 
             
            print(librosa.__version__)
         | 
|  | |
|  | |
| 8 | 
             
            path_to_add = os.path.join(os.path.dirname(__file__), "Wav2Lip")
         | 
| 9 | 
             
            if path_to_add not in sys.path:
         | 
| 10 | 
             
                sys.path.insert(0, path_to_add)
         | 
|  | |
| 2 | 
             
            import os
         | 
| 3 | 
             
            import sys
         | 
| 4 | 
             
            import torch
         | 
|  | |
| 5 |  | 
| 6 | 
            +
            import numpy
         | 
| 7 | 
            +
            print(numpy.__version__)
         | 
| 8 | 
            +
            import librosa
         | 
| 9 | 
             
            print(librosa.__version__)
         | 
| 10 | 
            +
            import numpy
         | 
| 11 | 
            +
            print(numpy.__version__)
         | 
| 12 | 
             
            path_to_add = os.path.join(os.path.dirname(__file__), "Wav2Lip")
         | 
| 13 | 
             
            if path_to_add not in sys.path:
         | 
| 14 | 
             
                sys.path.insert(0, path_to_add)
         | 
    	
        requirements.txt
    CHANGED
    
    | @@ -4,7 +4,7 @@ ffmpeg-python | |
| 4 | 
             
            SpeechRecognition
         | 
| 5 | 
             
            pydub
         | 
| 6 | 
             
            gTTS
         | 
| 7 | 
            -
            numpy | 
| 8 | 
             
            opencv-contrib-python
         | 
| 9 | 
             
            opencv-python
         | 
| 10 | 
             
            torchvision
         | 
|  | |
| 4 | 
             
            SpeechRecognition
         | 
| 5 | 
             
            pydub
         | 
| 6 | 
             
            gTTS
         | 
| 7 | 
            +
            numpy=1.23.5
         | 
| 8 | 
             
            opencv-contrib-python
         | 
| 9 | 
             
            opencv-python
         | 
| 10 | 
             
            torchvision
         | 
