Bofandra commited on
Commit
87c19b0
1 Parent(s): 22383c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def find(query):
65
 
66
  #return sorted_quran
67
  filepath = Path(query+'.csv')
68
- results.to_csv(filepath)
69
  return results, filepath
70
 
71
  demo = gr.Interface(fn=find, inputs="textbox", outputs=[gr.Dataframe(headers=['sura', 'aya', 'text'],datatype=["str", "str", "markdown"],wrap=True),gr.DownloadButton()])
 
65
 
66
  #return sorted_quran
67
  filepath = Path(query+'.csv')
68
+ results.to_csv(filepath,index=False)
69
  return results, filepath
70
 
71
  demo = gr.Interface(fn=find, inputs="textbox", outputs=[gr.Dataframe(headers=['sura', 'aya', 'text'],datatype=["str", "str", "markdown"],wrap=True),gr.DownloadButton()])