Spaces:
Runtime error
Runtime error
Commit
β’
e45808b
1
Parent(s):
b06fb6c
fix layout
Browse files
app.py
CHANGED
@@ -53,6 +53,13 @@ with app:
|
|
53 |
gr.Markdown("# Call2Vec")
|
54 |
gr.Markdown("## Semantic Search in Quarterly Earnings Conference Calls")
|
55 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
with gr.Column():
|
57 |
gr.Markdown(
|
58 |
"""
|
@@ -81,19 +88,12 @@ with app:
|
|
81 |
fn = semantic_search,
|
82 |
cache_examples=True
|
83 |
)
|
84 |
-
with gr.Column():
|
85 |
-
text_in = gr.Textbox(lines=1, placeholder="Insert text", label="Search Query")
|
86 |
-
with gr.Row():
|
87 |
-
n = gr.Slider(value=50, minimum=5, maximum=250, step=5, label="Number of Neighbours")
|
88 |
-
compute_bt = gr.Button("Search")
|
89 |
-
df_out = gr.Dataframe(interactive=False)
|
90 |
-
f_out = gr.File(interactive=False, label="Download")
|
91 |
-
|
92 |
gr.Markdown(
|
93 |
"""
|
94 |
<p style="text-align: center;">
|
95 |
Call2Vec by X and Y
|
96 |
-
|
|
|
97 |
</p>
|
98 |
"""
|
99 |
)
|
|
|
53 |
gr.Markdown("# Call2Vec")
|
54 |
gr.Markdown("## Semantic Search in Quarterly Earnings Conference Calls")
|
55 |
with gr.Row():
|
56 |
+
with gr.Column():
|
57 |
+
text_in = gr.Textbox(lines=1, placeholder="Insert text", label="Search Query")
|
58 |
+
with gr.Row():
|
59 |
+
n = gr.Slider(value=50, minimum=5, maximum=250, step=5, label="Number of Neighbours")
|
60 |
+
compute_bt = gr.Button("Search")
|
61 |
+
df_out = gr.Dataframe(interactive=False)
|
62 |
+
f_out = gr.File(interactive=False, label="Download")
|
63 |
with gr.Column():
|
64 |
gr.Markdown(
|
65 |
"""
|
|
|
88 |
fn = semantic_search,
|
89 |
cache_examples=True
|
90 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
gr.Markdown(
|
92 |
"""
|
93 |
<p style="text-align: center;">
|
94 |
Call2Vec by X and Y
|
95 |
+
<br>
|
96 |
+
<img 'id="visitor-badge" alt="visitor badge" src="https://visitor-badge.glitch.me/badge?page_id=simonschoe.call2vec&left_color=green&right_color=blue" />
|
97 |
</p>
|
98 |
"""
|
99 |
)
|