Bofandra commited on
Commit
a3c8aa4
1 Parent(s): be22528

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,8 +62,8 @@ def find(query):
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"]))
66
  #demo = gr.Interface(fn=find, inputs="textbox", outputs="textbox")
67
 
68
  if __name__ == "__main__":
69
- demo.launch()
 
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", "html"]))
66
  #demo = gr.Interface(fn=find, inputs="textbox", outputs="textbox")
67
 
68
  if __name__ == "__main__":
69
+ demo.launch(share=True)