Spaces:
Runtime error
Runtime error
azaninello
commited on
Commit
•
a5bb428
1
Parent(s):
eaf9808
Update app.py
Browse files
app.py
CHANGED
@@ -23,13 +23,13 @@ def get_lists(file):
|
|
23 |
|
24 |
words, words_lower, SENTENCES, SENTENCES_LOWER = get_lists(file)
|
25 |
|
26 |
-
def search_engine(
|
27 |
sentences_lower = SENTENCES_LOWER
|
28 |
sentences = SENTENCES
|
29 |
if round == False:
|
30 |
-
target=
|
31 |
else:
|
32 |
-
target=
|
33 |
|
34 |
|
35 |
result = []
|
|
|
23 |
|
24 |
words, words_lower, SENTENCES, SENTENCES_LOWER = get_lists(file)
|
25 |
|
26 |
+
def search_engine(parola_da_cercare, round=False):
|
27 |
sentences_lower = SENTENCES_LOWER
|
28 |
sentences = SENTENCES
|
29 |
if round == False:
|
30 |
+
target= parola_da_cercare #input("Inserisci una o più parole da cercare.\n")
|
31 |
else:
|
32 |
+
target= input("Inserisci un'altra parola da cercare.") #input("Inserisci un'altra parola da cercare.\n")
|
33 |
|
34 |
|
35 |
result = []
|