Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ OPENAI_API_KEY= os.environ["HF_TOKEN"] # Add a token to this space . Then copy
|
|
18 |
def get_pagetext(page):
|
19 |
s=str(page).replace("/t","")
|
20 |
|
21 |
-
def get_wiki_summary(search):
|
22 |
wiki_wiki = wikipediaapi.Wikipedia('en')
|
23 |
page = wiki_wiki.page(search)
|
24 |
|
|
|
18 |
def get_pagetext(page):
|
19 |
s=str(page).replace("/t","")
|
20 |
|
21 |
+
def get_wiki_summary(inputs, search):
|
22 |
wiki_wiki = wikipediaapi.Wikipedia('en')
|
23 |
page = wiki_wiki.page(search)
|
24 |
|