onkar-waghmode commited on
Commit
2063994
·
1 Parent(s): 137fd3b
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -18,7 +18,7 @@ similarity_model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
18
  # Model configurations
19
  PARAPHRASE_MODELS = {
20
  "T5-Base": "Vamsi/T5_Paraphrase_Paws",
21
- "PEGASUS-Paraphrase": "tuner007/pegasus_paraphrase",
22
  "Parrot-Paraphraser": "prithivida/parrot_paraphraser_on_T5",
23
  "BART-Paraphrase": "eugenesiow/bart-paraphrase",
24
  "ChatGPT-Style-T5": "humarin/chatgpt_paraphraser_on_T5_base",
@@ -386,7 +386,6 @@ def process_text(
386
  print(error_msg)
387
  return error_msg, "Error occurred", 0.0, "", "", ""
388
 
389
- # Create Gradio interface
390
  # Create Gradio interface
391
  with gr.Blocks(title="Text Paraphraser & Expander", theme=gr.themes.Soft()) as demo:
392
  gr.Markdown(
 
18
  # Model configurations
19
  PARAPHRASE_MODELS = {
20
  "T5-Base": "Vamsi/T5_Paraphrase_Paws",
21
+ # "PEGASUS-Paraphrase": "tuner007/pegasus_paraphrase",
22
  "Parrot-Paraphraser": "prithivida/parrot_paraphraser_on_T5",
23
  "BART-Paraphrase": "eugenesiow/bart-paraphrase",
24
  "ChatGPT-Style-T5": "humarin/chatgpt_paraphraser_on_T5_base",
 
386
  print(error_msg)
387
  return error_msg, "Error occurred", 0.0, "", "", ""
388
 
 
389
  # Create Gradio interface
390
  with gr.Blocks(title="Text Paraphraser & Expander", theme=gr.themes.Soft()) as demo:
391
  gr.Markdown(