Update app.py
Browse files
app.py
CHANGED
@@ -34,9 +34,9 @@ def translate(input, output, text):
|
|
34 |
},
|
35 |
}
|
36 |
response = requests.request("POST", API_URL, json=json_)
|
37 |
-
output = response.json()
|
38 |
|
39 |
-
return output
|
40 |
|
41 |
demo = gr.Blocks()
|
42 |
|
|
|
34 |
},
|
35 |
}
|
36 |
response = requests.request("POST", API_URL, json=json_)
|
37 |
+
output = response.json()
|
38 |
|
39 |
+
return output
|
40 |
|
41 |
demo = gr.Blocks()
|
42 |
|