BigSalmon commited on
Commit
b8d4d7d
Β·
1 Parent(s): 7bc1fb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,6 +1,5 @@
1
  import json
2
  import requests
3
- from mtranslate import translate
4
  from prompts import PROMPT_LIST
5
  import streamlit as st
6
  import random
@@ -96,4 +95,4 @@ if st.button("Run"):
96
  result = result[0]["generated_text"]
97
  st.write(result.replace("\n", " \n"))
98
  st.text("Thai πŸ‡ΉπŸ‡­ to English πŸ‡¬πŸ‡§ translation")
99
- st.write(translate(result, "en", "th").replace("\n", " \n"))
 
1
  import json
2
  import requests
 
3
  from prompts import PROMPT_LIST
4
  import streamlit as st
5
  import random
 
95
  result = result[0]["generated_text"]
96
  st.write(result.replace("\n", " \n"))
97
  st.text("Thai πŸ‡ΉπŸ‡­ to English πŸ‡¬πŸ‡§ translation")
98
+ st.write(result)