Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -30,9 +30,17 @@ if selected_source == sources[0]: | |
| 30 | 
             
                    df["Name"] = df.fullname
         | 
| 31 | 
             
                    df["username"] = df.name
         | 
| 32 | 
             
                except Exception as exp:
         | 
| 33 | 
            -
                    st.error(f' | 
| 34 | 
            -
                     | 
| 35 | 
            -
                     | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 36 |  | 
| 37 |  | 
| 38 |  | 
|  | |
| 30 | 
             
                    df["Name"] = df.fullname
         | 
| 31 | 
             
                    df["username"] = df.name
         | 
| 32 | 
             
                except Exception as exp:
         | 
| 33 | 
            +
                    st.error(f'''
         | 
| 34 | 
            +
                    ERROR>> in loading {selected_source}
         | 
| 35 | 
            +
                    
         | 
| 36 | 
            +
                    >> {exp}''', icon="🚨")
         | 
| 37 | 
            +
                    selected_source = sources[1]
         | 
| 38 | 
            +
                    st.info(f'''
         | 
| 39 | 
            +
                    This can be solved by "Space Restart"
         | 
| 40 | 
            +
                    
         | 
| 41 | 
            +
                    Switching Sources for now...
         | 
| 42 | 
            +
                    
         | 
| 43 | 
            +
                    New Source: {selected_source}''', icon="ℹ️")
         | 
| 44 |  | 
| 45 |  | 
| 46 |  | 
