Bofandra commited on
Commit
854df65
1 Parent(s): 95caef6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def find(query):
60
  results = results.style.format({'text': make_clickable_both})
61
 
62
  #return sorted_quran
63
- return results.values.tolist()
64
 
65
  demo = gr.Interface(fn=find, inputs="textbox", outputs=gr.Dataframe(headers=['sura', 'aya', 'text'],wrap=True,datatype=["str", "str", "markdown"],interactive=True))
66
  #demo = gr.Interface(fn=find, inputs="textbox", outputs="textbox")
 
60
  results = results.style.format({'text': make_clickable_both})
61
 
62
  #return sorted_quran
63
+ return results
64
 
65
  demo = gr.Interface(fn=find, inputs="textbox", outputs=gr.Dataframe(headers=['sura', 'aya', 'text'],wrap=True,datatype=["str", "str", "markdown"],interactive=True))
66
  #demo = gr.Interface(fn=find, inputs="textbox", outputs="textbox")