mkoot007 commited on
Commit
e09c460
1 Parent(s): 5685b2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ if st.button("Generate Paraphrase"):
10
  if user_word:
11
  # Prompt the model with a structured paraphrase request
12
  paraphrase_prompt= f"Write a Paraphrase about '{user_word}'.\n"
13
- set_seed(42)
14
  paraphrase = pipe(paraphrase_prompt, max_length=200, do_sample=True, num_return_sequences=1)[0]["generated_text"]
15
  st.markdown("**Paraphrase:**")
16
  st.markdown(paraphrase)
 
10
  if user_word:
11
  # Prompt the model with a structured paraphrase request
12
  paraphrase_prompt= f"Write a Paraphrase about '{user_word}'.\n"
13
+ # set_seed(42)
14
  paraphrase = pipe(paraphrase_prompt, max_length=200, do_sample=True, num_return_sequences=1)[0]["generated_text"]
15
  st.markdown("**Paraphrase:**")
16
  st.markdown(paraphrase)