rameshmoorthy
commited on
Commit
•
71c9026
1
Parent(s):
3a94f4f
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import pandas as pd
|
2 |
import pandas_profiling
|
3 |
import gradio as gr
|
|
|
4 |
|
5 |
def generate_report(file):
|
6 |
df = pd.read_csv(file) if file.name.endswith(".csv") else pd.read_excel(file)
|
|
|
1 |
import pandas as pd
|
2 |
import pandas_profiling
|
3 |
import gradio as gr
|
4 |
+
from pydantic_settings import BaseSettings
|
5 |
|
6 |
def generate_report(file):
|
7 |
df = pd.read_csv(file) if file.name.endswith(".csv") else pd.read_excel(file)
|