Zihao Wang
commited on
Commit
·
ba30d19
1
Parent(s):
6a64afd
add log
Browse files
app.py
CHANGED
@@ -20,6 +20,7 @@ def search(query:str):
|
|
20 |
title = search_result['title']
|
21 |
link = search_result['link']
|
22 |
return_str = f"""title: {title}\nlink: {link}"""
|
|
|
23 |
return return_str
|
24 |
|
25 |
demo = gr.Interface(fn=search, inputs="textbox", outputs="textbox")
|
|
|
20 |
title = search_result['title']
|
21 |
link = search_result['link']
|
22 |
return_str = f"""title: {title}\nlink: {link}"""
|
23 |
+
print(return_str)
|
24 |
return return_str
|
25 |
|
26 |
demo = gr.Interface(fn=search, inputs="textbox", outputs="textbox")
|