Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -51,7 +51,7 @@ def inference(audio, prompt, model, temperature, latest): 
     | 
|
| 51 | 
         
             
                print("The audio is:", audio)
         
     | 
| 52 | 
         
             
                transcript = transcribe(audio)
         
     | 
| 53 | 
         | 
| 54 | 
         
            -
                if transcript  
     | 
| 55 | 
         
             
                    latest.append(transcript)
         
     | 
| 56 | 
         | 
| 57 | 
         
             
                text = prompt + transcript + "\nPrediction: "
         
     | 
| 
         | 
|
| 51 | 
         
             
                print("The audio is:", audio)
         
     | 
| 52 | 
         
             
                transcript = transcribe(audio)
         
     | 
| 53 | 
         | 
| 54 | 
         
            +
                if transcript != None:
         
     | 
| 55 | 
         
             
                    latest.append(transcript)
         
     | 
| 56 | 
         | 
| 57 | 
         
             
                text = prompt + transcript + "\nPrediction: "
         
     |