Ra-Is commited on
Commit
6b277eb
1 Parent(s): 33dcef1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import os
5
 
6
  # Define the function to call the API
7
  def translate(text):
8
- url = os.getenv("TRANSLATION_API_URL")
9
  payload = json.dumps({
10
  "text": text
11
  })
 
5
 
6
  # Define the function to call the API
7
  def translate(text):
8
+ url = os.getenv("TRANSLATION_URL")
9
  payload = json.dumps({
10
  "text": text
11
  })