Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,12 +38,10 @@ if __name__ == '__main__':
|
|
| 38 |
['她在看书'],
|
| 39 |
['一个人弹琴'],
|
| 40 |
]
|
| 41 |
-
|
| 42 |
-
output_text = gr.Textbox()
|
| 43 |
gr.Interface(ai_text,
|
| 44 |
-
inputs=
|
| 45 |
-
outputs=
|
| 46 |
-
theme="grass",
|
| 47 |
title="Chinese Text Semantic Search Model",
|
| 48 |
description="Copy or input Chinese text here. Submit and the machine will find the most similarity texts.",
|
| 49 |
article="Link to <a href='https://github.com/shibing624/similarities' style='color:blue;' target='_blank\'>Github REPO</a>",
|
|
|
|
| 38 |
['她在看书'],
|
| 39 |
['一个人弹琴'],
|
| 40 |
]
|
| 41 |
+
|
|
|
|
| 42 |
gr.Interface(ai_text,
|
| 43 |
+
inputs=gr.Textbox(label="Enter Query"),
|
| 44 |
+
outputs=gr.Textbox(label="Output Box"),
|
|
|
|
| 45 |
title="Chinese Text Semantic Search Model",
|
| 46 |
description="Copy or input Chinese text here. Submit and the machine will find the most similarity texts.",
|
| 47 |
article="Link to <a href='https://github.com/shibing624/similarities' style='color:blue;' target='_blank\'>Github REPO</a>",
|