hltdx commited on
Commit
319a4e8
·
unverified ·
1 Parent(s): 717e95e

Adding delete_data iface.

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -63,8 +63,15 @@ iface2 = gr.Interface(
63
  title="Load Data"
64
  )
65
 
 
 
 
 
 
 
 
66
  # Combine interfaces
67
- demo = gr.TabbedInterface([iface1, iface2], ["Save Data", "Load Data"])
68
 
69
  # Launch the app
70
  demo.launch()
 
63
  title="Load Data"
64
  )
65
 
66
+ iface3 = gr.Interface(
67
+ fn=delete_data,
68
+ inputs=[],
69
+ outputs="text",
70
+ title="Delete Data"
71
+ )
72
+
73
  # Combine interfaces
74
+ demo = gr.TabbedInterface([iface1, iface2, iface3], ["Save Data", "Load Data", "Delete Data"])
75
 
76
  # Launch the app
77
  demo.launch()