Sakil commited on
Commit
ae29f3b
·
1 Parent(s): f972c08

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import pandas as pd
3
+
4
+ def predict(file_obj):
5
+ df = pd.read_csv(file_obj)
6
+ return df
7
+
8
+
9
+ iface = gr.Interface(predict,inputs="file",outputs="dataframe",title='Cramer V Test',description="Cramer Test")
10
+ iface.launch(inline=False)