Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -38,9 +38,9 @@ if choice == "Upload": | |
| 38 | 
             
            if choice == "Profiling":
         | 
| 39 | 
             
                st.title("Exploratory Data Analysis")
         | 
| 40 | 
             
                # if st.button("Download EDA Report"):
         | 
|  | |
|  | |
| 41 | 
             
                with open("SWEETVIZ_REPORT.html", "rb") as f:
         | 
| 42 | 
            -
                    report = sv.analyze(df)
         | 
| 43 | 
            -
                    report.show_html()
         | 
| 44 | 
             
                    st.download_button("Download EDA Report", f, file_name="SWEETVIZ_REPORT.html")
         | 
| 45 |  | 
| 46 |  | 
|  | |
| 38 | 
             
            if choice == "Profiling":
         | 
| 39 | 
             
                st.title("Exploratory Data Analysis")
         | 
| 40 | 
             
                # if st.button("Download EDA Report"):
         | 
| 41 | 
            +
                report = sv.analyze(df)
         | 
| 42 | 
            +
                report.show_html()
         | 
| 43 | 
             
                with open("SWEETVIZ_REPORT.html", "rb") as f:
         | 
|  | |
|  | |
| 44 | 
             
                    st.download_button("Download EDA Report", f, file_name="SWEETVIZ_REPORT.html")
         | 
| 45 |  | 
| 46 |  |