Frenchizer commited on
Commit
6e24b14
·
verified ·
1 Parent(s): 82fd0e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def process_and_translate(text: str):
64
  try:
65
  # Forward only text to space_18 later we will forward according to the context
66
  translation_response = requests.post(
67
- "https://api.gradio.app/v2/Frenchizer/space_18/predict",
68
  json={"data": [text]} # ⬅️ Now sending only `text`
69
  ).json()
70
 
 
64
  try:
65
  # Forward only text to space_18 later we will forward according to the context
66
  translation_response = requests.post(
67
+ "https://huggingface.co/spaces/Frenchizer/space_18/predict",
68
  json={"data": [text]} # ⬅️ Now sending only `text`
69
  ).json()
70