Ra-Is commited on
Commit
33dcef1
1 Parent(s): 660fc7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -6,7 +6,6 @@ import os
6
  # Define the function to call the API
7
  def translate(text):
8
  url = os.getenv("TRANSLATION_API_URL")
9
- #url = "https://xayq0bvi0h.execute-api.eu-west-2.amazonaws.com/api/translate"
10
  payload = json.dumps({
11
  "text": text
12
  })
 
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
  })