Rooni commited on
Commit
7b4545e
·
verified ·
1 Parent(s): 2248ec1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def translate_text(text):
33
  """
34
  cache_key = generate_cache_key(text)
35
 
36
- cached_result = cache.get(cache_key)
37
  if cached_result:
38
  app.logger.info(f"Cache hit for key: {cache_key}")
39
  return cached_result
 
33
  """
34
  cache_key = generate_cache_key(text)
35
 
36
+ cached_result = cache.get(cache_key)
37
  if cached_result:
38
  app.logger.info(f"Cache hit for key: {cache_key}")
39
  return cached_result