Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def find(query):
|
|
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()])
|
72 |
#demo = gr.Interface(fn=find, inputs="textbox", outputs="textbox")
|
73 |
|
74 |
if __name__ == "__main__":
|
|
|
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()], title="Quran Finder")
|
72 |
#demo = gr.Interface(fn=find, inputs="textbox", outputs="textbox")
|
73 |
|
74 |
if __name__ == "__main__":
|