tommy24 commited on
Commit
8506ca7
·
1 Parent(s): a1eb602

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ db = app.database()
17
  def function(parameter):
18
  data = db.child("data").child(parameter).get()
19
  data = data.val()
20
- return data.val
21
 
22
  iface = gr.Interface(fn=function, inputs="text", outputs="text")
23
  iface.launch()
 
17
  def function(parameter):
18
  data = db.child("data").child(parameter).get()
19
  data = data.val()
20
+ return data
21
 
22
  iface = gr.Interface(fn=function, inputs="text", outputs="text")
23
  iface.launch()