Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def process_and_translate(text: str):
|
|
| 64 |
print(f"Sending to space_7: {text}") # Debugging
|
| 65 |
|
| 66 |
translation_response = requests.post(
|
| 67 |
-
"https://api.gradio.app/v2/Frenchizer/
|
| 68 |
json={"data": [text]} # Make sure this is correctly formatted
|
| 69 |
)
|
| 70 |
|
|
|
|
| 64 |
print(f"Sending to space_7: {text}") # Debugging
|
| 65 |
|
| 66 |
translation_response = requests.post(
|
| 67 |
+
"https://api.gradio.app/v2/Frenchizer/space_18/predict",
|
| 68 |
json={"data": [text]} # Make sure this is correctly formatted
|
| 69 |
)
|
| 70 |
|