Spaces:
Building
on
L4
Building
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -134,9 +134,9 @@ with gr.Blocks(theme="soft") as demo:
|
|
134 |
with gr.Column():
|
135 |
with gr.Row():
|
136 |
with gr.Column():
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
paraphrasing_output = gr.Text(label="Paraphrasing Output")
|
141 |
|
142 |
paraphrasing_submit.click(paraphrase, inputs=[paraphrasing_input, paraphrasing_choice], outputs=paraphrasing_output)
|
|
|
134 |
with gr.Column():
|
135 |
with gr.Row():
|
136 |
with gr.Column():
|
137 |
+
paraphrasing_choice = gr.Radio(choices = ["turna_paraphrasing_tatoeba", "turna_paraphrasing_opensubtitles"], label ="Model")
|
138 |
+
paraphrasing_input = gr.Textbox(label = "Paraphrasing Input")
|
139 |
+
paraphrasing_submit = gr.Button()
|
140 |
paraphrasing_output = gr.Text(label="Paraphrasing Output")
|
141 |
|
142 |
paraphrasing_submit.click(paraphrase, inputs=[paraphrasing_input, paraphrasing_choice], outputs=paraphrasing_output)
|