Update app.py
Browse files93 unmodified lines9495969797989910093 unmodified lines WEBS_instance = WEBS() # Instantiate WEBS without context manager responses = [] for i, r in enumerate(WEBS_instance.text(query, region='wt-wt', safesearch='off', timelimit='y')): if i == 2: # Limiting the results to 10 if i == 10: # Limiting the results to 10 break responses.append(r) return jsonify(responses)app.py+1-1