Spaces:
Runtime error
Runtime error
Commit ·
6be0f6a
1
Parent(s): 3c8f550
Update app.py
Browse files
app.py
CHANGED
|
@@ -154,6 +154,7 @@ block = gr.Blocks(theme="dark")
|
|
| 154 |
|
| 155 |
with block:
|
| 156 |
with gr.Tab("Full text and text similarity"):
|
|
|
|
| 157 |
type_of_input = gr.inputs.Radio(["English", "Spanish"], label="Input Language")
|
| 158 |
with gr.Row():
|
| 159 |
cn_text = gr.inputs.Textbox(placeholder="Full text", lines=7)
|
|
@@ -163,7 +164,7 @@ with block:
|
|
| 163 |
cn_run.click(generated_similarity, inputs=[type_of_input, cn_text], outputs=[cn_results1])
|
| 164 |
|
| 165 |
with gr.Tab("Only text with no abstract"):
|
| 166 |
-
gr.Markdown("Choose
|
| 167 |
type_of_input = gr.inputs.Radio(["English", "Spanish"], label="Input Language")
|
| 168 |
with gr.Row():
|
| 169 |
cn_text = gr.inputs.Textbox(placeholder="Text without abstract", lines=7)
|
|
|
|
| 154 |
|
| 155 |
with block:
|
| 156 |
with gr.Tab("Full text and text similarity"):
|
| 157 |
+
gr.Markdown("Choose language:")
|
| 158 |
type_of_input = gr.inputs.Radio(["English", "Spanish"], label="Input Language")
|
| 159 |
with gr.Row():
|
| 160 |
cn_text = gr.inputs.Textbox(placeholder="Full text", lines=7)
|
|
|
|
| 164 |
cn_run.click(generated_similarity, inputs=[type_of_input, cn_text], outputs=[cn_results1])
|
| 165 |
|
| 166 |
with gr.Tab("Only text with no abstract"):
|
| 167 |
+
gr.Markdown("Choose language:")
|
| 168 |
type_of_input = gr.inputs.Radio(["English", "Spanish"], label="Input Language")
|
| 169 |
with gr.Row():
|
| 170 |
cn_text = gr.inputs.Textbox(placeholder="Text without abstract", lines=7)
|