anumukhe commited on
Commit
764346d
1 Parent(s): f5fba71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def translate(prompt_ , from_lang, to_lang, input_prompt = "translate this", see
35
  "wait_for_model": True,
36
  },
37
  }
38
- response = requests.post(API_URL, json=json_, headers=headers)
39
  print(f"Response is : {response}")
40
  output = json.loads(response.content.decode("utf-8"))#response.json()
41
  print(f"output is : {output}")
 
35
  "wait_for_model": True,
36
  },
37
  }
38
+ response = requests.post(API_URL, json=json_)#, headers=headers)
39
  print(f"Response is : {response}")
40
  output = json.loads(response.content.decode("utf-8"))#response.json()
41
  print(f"output is : {output}")