Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -1,4 +1,3 @@ 
     | 
|
| 1 | 
         
            -
             
     | 
| 2 | 
         
             
            # 19feb2023
         
     | 
| 3 | 
         
             
            #https://huggingface.co/spaces/keras-io/timeseries_forecasting_for_weather/
         
     | 
| 4 | 
         | 
| 
         @@ -10,7 +9,7 @@ import numpy as np 
     | 
|
| 10 | 
         
             
            backlogmax = 4
         
     | 
| 11 | 
         
             
            today = datetime.date.today()
         
     | 
| 12 | 
         | 
| 13 | 
         
            -
            ayear = int(today.strftime("%Y"))- 
     | 
| 14 | 
         
             
            amonth = int(today.strftime("%m"))
         
     | 
| 15 | 
         
             
            amonthday = int(today.strftime("%d"))
         
     | 
| 16 | 
         | 
| 
         @@ -34,4 +33,4 @@ for i in range(ayear-backlogmax,ayear,1): 
     | 
|
| 34 | 
         
             
            		np.append([adate,"",row[4],"","","","","","","","","","","",""],nparray)
         
     | 
| 35 | 
         
             
            		break
         
     | 
| 36 | 
         
             
            	adf = pd.concat([adf, pd.DataFrame(nparray)], axis=0)
         
     | 
| 37 | 
         
            -
            st.dataframe(adf)
         
     | 
| 
         | 
|
| 
         | 
|
| 1 | 
         
             
            # 19feb2023
         
     | 
| 2 | 
         
             
            #https://huggingface.co/spaces/keras-io/timeseries_forecasting_for_weather/
         
     | 
| 3 | 
         | 
| 
         | 
|
| 9 | 
         
             
            backlogmax = 4
         
     | 
| 10 | 
         
             
            today = datetime.date.today()
         
     | 
| 11 | 
         | 
| 12 | 
         
            +
            ayear = int(today.strftime("%Y"))-0
         
     | 
| 13 | 
         
             
            amonth = int(today.strftime("%m"))
         
     | 
| 14 | 
         
             
            amonthday = int(today.strftime("%d"))
         
     | 
| 15 | 
         | 
| 
         | 
|
| 33 | 
         
             
            		np.append([adate,"",row[4],"","","","","","","","","","","",""],nparray)
         
     | 
| 34 | 
         
             
            		break
         
     | 
| 35 | 
         
             
            	adf = pd.concat([adf, pd.DataFrame(nparray)], axis=0)
         
     | 
| 36 | 
         
            +
            st.dataframe(adf)
         
     |