Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	
		Kashif Rasul
		
	commited on
		
		
					Commit 
							
							·
						
						46dbe9e
	
1
								Parent(s):
							
							5542968
								
initial
Browse files- AirPassengers.csv +1 -0
- app.py +19 -0
- packages.txt +0 -0
- requirements.txt +3 -0
    	
        AirPassengers.csv
    ADDED
    
    | @@ -0,0 +1 @@ | |
|  | 
|  | |
| 1 | 
            +
            Month,#Passengers
         | 
    	
        app.py
    ADDED
    
    | @@ -0,0 +1,19 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            import gradio as gr
         | 
| 2 | 
            +
             | 
| 3 | 
            +
             | 
| 4 | 
            +
            def forecast(data):
         | 
| 5 | 
            +
                return data
         | 
| 6 | 
            +
             | 
| 7 | 
            +
             | 
| 8 | 
            +
            demo = gr.Interface(
         | 
| 9 | 
            +
                forecast,
         | 
| 10 | 
            +
                [
         | 
| 11 | 
            +
                    gr.Timeseries(),
         | 
| 12 | 
            +
                ],
         | 
| 13 | 
            +
                [
         | 
| 14 | 
            +
                    gr.Timeseries(),
         | 
| 15 | 
            +
                ],
         | 
| 16 | 
            +
            )
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            if __name__ == "__main__":
         | 
| 19 | 
            +
                demo.launch()
         | 
    	
        packages.txt
    ADDED
    
    | 
            File without changes
         | 
    	
        requirements.txt
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            gluonts[torch,pro]
         | 
| 2 | 
            +
            pandas
         | 
| 3 | 
            +
             | 
