PsychoNay commited on
Commit
afbb598
·
verified ·
1 Parent(s): 5513a99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def get_translation(text: str) -> str:
24
  # --- 3. FastAPI App ကိုတည်ဆောက်ပြီး API Endpoint ဖန်တီးပါ ---
25
  api = FastAPI()
26
 
27
- @api.post("/api/translate")
28
  def handle_api_translation(request: TranslationRequest):
29
  """
30
  Standard REST API endpoint.
 
24
  # --- 3. FastAPI App ကိုတည်ဆောက်ပြီး API Endpoint ဖန်တီးပါ ---
25
  api = FastAPI()
26
 
27
+ @api.post("/translate")
28
  def handle_api_translation(request: TranslationRequest):
29
  """
30
  Standard REST API endpoint.