sanketmalde commited on
Commit
69e1533
·
1 Parent(s): a80238f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -2,16 +2,10 @@ import gradio as gr
2
  import pandas as pd
3
 
4
  def readCSV(file):
5
- # Read the CSV file into a DataFrame
6
  df = pd.read_csv(file)
7
-
8
- # Display the DataFrame
9
  return "The DF is: " + df
10
 
11
- #def greet(name):
12
- # return "Hello " + name + "!"
13
-
14
  demo = gr.Interface(fn=readCSV, inputs="text", outputs="text")
15
 
16
  if __name__ == "__main__":
17
- demo.launch(show_api=False)
 
2
  import pandas as pd
3
 
4
  def readCSV(file):
 
5
  df = pd.read_csv(file)
 
 
6
  return "The DF is: " + df
7
 
 
 
 
8
  demo = gr.Interface(fn=readCSV, inputs="text", outputs="text")
9
 
10
  if __name__ == "__main__":
11
+ demo.launch(show_api=False, debug=True)