Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,14 @@ title = "AI Wikipedia Search"
|
|
| 79 |
description = 'Contextual Question and Answer'
|
| 80 |
article = ''
|
| 81 |
examples = [
|
| 82 |
-
['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
['Cicero', 'What quotes did Marcus Tullius Cicero make?'],
|
| 84 |
['Alzheimers', 'What causes alzheimers?'],
|
| 85 |
['Neuropathy', 'With neuropathy and neuro-muskoskeletal issues, and what are the treatments available?'],
|
|
@@ -94,5 +101,5 @@ examples = [
|
|
| 94 |
]
|
| 95 |
|
| 96 |
gr.Interface(get_answer, inputs, outputs, title=title, description=description, examples=examples,
|
| 97 |
-
article="Saved dataset: https://huggingface.co/datasets/awacke1/WikipediaSearch",
|
| 98 |
flagging_options=["strongly related","related", "neutral", "unrelated", "strongly unrelated"]).launch(share=False,enable_queue=False)
|
|
|
|
| 79 |
description = 'Contextual Question and Answer'
|
| 80 |
article = ''
|
| 81 |
examples = [
|
| 82 |
+
['Health and fitness', 'What is the DSM-IV?'],
|
| 83 |
+
['Technology and applied sciences', 'List of military strategies and concepts?'],
|
| 84 |
+
['Culture and the arts', 'What films are considered the best?'],
|
| 85 |
+
['Health and fitness', 'What are the types of psychotherapies?'],
|
| 86 |
+
['Health and fitness', 'What are macronutrients?'],
|
| 87 |
+
['Health and fitness', 'What are micronutrients?'],
|
| 88 |
+
['Health and fitness', 'What are Nootropics?'],
|
| 89 |
+
['Health and fitness', 'What is the timeline of psychology?'],
|
| 90 |
['Cicero', 'What quotes did Marcus Tullius Cicero make?'],
|
| 91 |
['Alzheimers', 'What causes alzheimers?'],
|
| 92 |
['Neuropathy', 'With neuropathy and neuro-muskoskeletal issues, and what are the treatments available?'],
|
|
|
|
| 101 |
]
|
| 102 |
|
| 103 |
gr.Interface(get_answer, inputs, outputs, title=title, description=description, examples=examples,
|
| 104 |
+
article="Saved dataset: https://huggingface.co/datasets/awacke1/WikipediaSearch stores search and the result url. List of topics is at https://en.wikipedia.org/wiki/Wikipedia:Contents/Lists",
|
| 105 |
flagging_options=["strongly related","related", "neutral", "unrelated", "strongly unrelated"]).launch(share=False,enable_queue=False)
|