merve HF staff commited on
Commit
a32f7ed
1 Parent(s): bcd8f3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks(theme="soft") as demo:
105
  gr.Markdown("TURNA fine-tuned on part-of-speech-tagging. Enter text to parse parts of speech and pick the model.")
106
  with gr.Column():
107
  with gr.Row():
108
- pos_choice = gr.Radio(choices = ["turna_pos_imst", "turna_pos_boun"])
109
  pos_input = gr.Textbox(label="POS Input")
110
  pos_output = gr.Textbox(label="POS Output")
111
  pos_submit = gr.Button()
@@ -116,7 +116,7 @@ with gr.Blocks(theme="soft") as demo:
116
  gr.Markdown("TURNA fine-tuned on named entity recognition. Enter text to parse named entities and pick the model.")
117
  with gr.Column():
118
  with gr.Row():
119
- ner_choice = gr.Radio(choices = ["turna_ner_wikiann", "turna_ner_milliyet"])
120
  ner_input = gr.Textbox(label="NER Input")
121
  ner_output = gr.Textbox(label="NER Output")
122
  ner_submit = gr.Button()
@@ -126,7 +126,7 @@ with gr.Blocks(theme="soft") as demo:
126
  gr.Markdown("TURNA fine-tuned on paraphrasing. Enter text to paraphrase and pick the model.")
127
  with gr.Column():
128
  with gr.Row():
129
- paraphrasing_choice = gr.Radio(choices = ["turna_paraphrasing_tatoeba", "turna_paraphrasing_opensubtitles"])
130
  paraphrasing_input = gr.Textbox(label = "Paraphrasing Input")
131
  paraphrasing_output = gr.Text(label="Paraphrasing Output")
132
  paraphrasing_submit = gr.Button()
@@ -136,7 +136,7 @@ with gr.Blocks(theme="soft") as demo:
136
  gr.Markdown("TURNA fine-tuned on summarization. Enter text to summarize and pick the model.")
137
  with gr.Column():
138
  with gr.Row():
139
- sum_choice = gr.Radio(choices = ["turna_summarization_mlsum", "turna_summarization_tr_news"])
140
  sum_input = gr.Textbox(label = "Summarization Input")
141
  sum_output = gr.Textbox(label = "Summarization Output")
142
  sum_submit = gr.Button()
 
105
  gr.Markdown("TURNA fine-tuned on part-of-speech-tagging. Enter text to parse parts of speech and pick the model.")
106
  with gr.Column():
107
  with gr.Row():
108
+ pos_choice = gr.Radio(choices = ["turna_pos_imst", "turna_pos_boun"], label ="Model")
109
  pos_input = gr.Textbox(label="POS Input")
110
  pos_output = gr.Textbox(label="POS Output")
111
  pos_submit = gr.Button()
 
116
  gr.Markdown("TURNA fine-tuned on named entity recognition. Enter text to parse named entities and pick the model.")
117
  with gr.Column():
118
  with gr.Row():
119
+ ner_choice = gr.Radio(choices = ["turna_ner_wikiann", "turna_ner_milliyet"], label ="Model")
120
  ner_input = gr.Textbox(label="NER Input")
121
  ner_output = gr.Textbox(label="NER Output")
122
  ner_submit = gr.Button()
 
126
  gr.Markdown("TURNA fine-tuned on paraphrasing. Enter text to paraphrase and pick the model.")
127
  with gr.Column():
128
  with gr.Row():
129
+ paraphrasing_choice = gr.Radio(choices = ["turna_paraphrasing_tatoeba", "turna_paraphrasing_opensubtitles"], label ="Model")
130
  paraphrasing_input = gr.Textbox(label = "Paraphrasing Input")
131
  paraphrasing_output = gr.Text(label="Paraphrasing Output")
132
  paraphrasing_submit = gr.Button()
 
136
  gr.Markdown("TURNA fine-tuned on summarization. Enter text to summarize and pick the model.")
137
  with gr.Column():
138
  with gr.Row():
139
+ sum_choice = gr.Radio(choices = ["turna_summarization_mlsum", "turna_summarization_tr_news"], label ="Model")
140
  sum_input = gr.Textbox(label = "Summarization Input")
141
  sum_output = gr.Textbox(label = "Summarization Output")
142
  sum_submit = gr.Button()