Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,9 +26,10 @@ def answer_fn(query):
|
|
26 |
|
27 |
qapp = gr.Interface(fn=answer_fn, inputs="textbox", outputs="textbox",
|
28 |
examples=[
|
29 |
-
"ما أهمية كتابة المعاملات؟", "أخبرني عن عذاب الله للمنافقين", "
|
30 |
],
|
31 |
title="Qur\'an Retrieval Demo - Semantic Search",
|
32 |
-
description="A
|
|
|
33 |
if __name__ == "__main__":
|
34 |
qapp.launch()
|
|
|
26 |
|
27 |
qapp = gr.Interface(fn=answer_fn, inputs="textbox", outputs="textbox",
|
28 |
examples=[
|
29 |
+
"ما أهمية كتابة المعاملات؟", "أخبرني عن عذاب الله للمنافقين", "حسن معاملة الوالدين", "ما معجزات سيدنا عيسى", "ما هو التطفيف"
|
30 |
],
|
31 |
title="Qur\'an Retrieval Demo - Semantic Search",
|
32 |
+
description="A basic demo based on Arabic ColBERT (10k triplets) and simple text of the Qur\'an. First query may take a minute, then much faster.\
|
33 |
+
Try to include relevant terms - this is just retrieval, not LLM chat.",)
|
34 |
if __name__ == "__main__":
|
35 |
qapp.launch()
|