suricodes commited on
Commit
65749c3
·
verified ·
1 Parent(s): 3b538c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ st.write("**-Developed at Speech and Language Processing Lab, Center for Artific
22
  # ===========================================================================
23
 
24
  def translate(source):
25
- proxy = xmlrpc.client.ServerProxy("http://172.16.40.175:8083/RPC2")
26
  print(source)
27
  text_translate = proxy.translate({"text":source}) ["text"]
28
  print(text_translate)
 
22
  # ===========================================================================
23
 
24
  def translate(source):
25
+ proxy = xmlrpc.client.ServerProxy("http://localhost:8083/RPC2")
26
  print(source)
27
  text_translate = proxy.translate({"text":source}) ["text"]
28
  print(text_translate)