azaninello commited on
Commit
7de2177
1 Parent(s): 82098b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def search_engine(target):
36
  stringed_results += str(r) + '\n'
37
 
38
  else:
39
- return f"""Ho trovato {len(result)} {"frasi" if len(result) > 1 else "frase"} in cui è presente la parola {target}.\n {}"""
40
 
41
  demo = gr.Interface(fn=search_engine, inputs='text', outputs='text')
42
  demo.launch()
 
36
  stringed_results += str(r) + '\n'
37
 
38
  else:
39
+ return f"""Ho trovato {len(result)} {"frasi" if len(result) > 1 else "frase"} in cui è presente la parola {target}.\n {stringed_results}"""
40
 
41
  demo = gr.Interface(fn=search_engine, inputs='text', outputs='text')
42
  demo.launch()