merve HF staff commited on
Commit
4c3c314
β€’
1 Parent(s): ac04e82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ sent = st.text_area(label = "Input", value = default_value_gen, height = 10)
27
  outputs = query(payload = sent, model_id = "mrm8488/t5-small-finetuned-quora-for-paraphrasing", api_token = api_token)
28
  st.write("Paraphrased Example:")
29
  try:
30
- st.write(outputs[0]["generated_text"])
31
  except:
32
  st.write("Inference API loads model on demand, please wait for 10 secs and try again πŸ€— ")
33
  st.subheader("Multilingual Models using Translation Models πŸ™ŒπŸΌ")
 
27
  outputs = query(payload = sent, model_id = "mrm8488/t5-small-finetuned-quora-for-paraphrasing", api_token = api_token)
28
  st.write("Paraphrased Example:")
29
  try:
30
+ st.write(outputs[0]["generated_text"])
31
  except:
32
  st.write("Inference API loads model on demand, please wait for 10 secs and try again πŸ€— ")
33
  st.subheader("Multilingual Models using Translation Models πŸ™ŒπŸΌ")