ZachGF commited on
Commit
f2340ef
1 Parent(s): 0446d7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -34,12 +34,16 @@ def plot_graph(file):
34
  return plot_filename
35
 
36
 
37
- # Define the Gradio interface
 
 
 
38
  interface = gr.Interface(
39
  fn=plot_graph,
40
  inputs=gr.File(label="Upload CSV File"),
41
  outputs=gr.Image(type="filepath", label="Generated Graph"),
42
- title="Tabular Data Plotter"
 
43
  )
44
 
45
  interface.launch()
 
34
  return plot_filename
35
 
36
 
37
+ examples = [
38
+ ["example1.csv"],
39
+ ]
40
+
41
  interface = gr.Interface(
42
  fn=plot_graph,
43
  inputs=gr.File(label="Upload CSV File"),
44
  outputs=gr.Image(type="filepath", label="Generated Graph"),
45
+ title="Species Observation Plotter",
46
+ examples=examples
47
  )
48
 
49
  interface.launch()