Spaces:
No application file
No application file
Update app.py
Browse files
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_
|
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}")
|