Spaces:
Running
Running
jhj0517
commited on
Commit
·
9215083
1
Parent(s):
c98fbfc
Fix syntax
Browse files
modules/translation/translation_base.py
CHANGED
@@ -124,8 +124,6 @@ class TranslationBase(ABC):
|
|
124 |
|
125 |
except Exception as e:
|
126 |
print(f"Error: {str(e)}")
|
127 |
-
import traceback
|
128 |
-
traceback.print_exc()
|
129 |
finally:
|
130 |
self.release_cuda_memory()
|
131 |
|
|
|
124 |
|
125 |
except Exception as e:
|
126 |
print(f"Error: {str(e)}")
|
|
|
|
|
127 |
finally:
|
128 |
self.release_cuda_memory()
|
129 |
|