ariG23498 HF Staff commited on
Commit
8505142
·
verified ·
1 Parent(s): fd8bb46

Upload google_embeddinggemma-300m_0.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. google_embeddinggemma-300m_0.py +3 -2
google_embeddinggemma-300m_0.py CHANGED
@@ -35,7 +35,8 @@ except Exception as e:
35
 
36
  with open('google_embeddinggemma-300m_0.txt', 'a', encoding='utf-8') as f:
37
  import traceback
38
- f.write('```CODE:
 
39
  #@title Licensed under the Apache License, Version 2.0 (the "License");
40
  # you may not use this file except in compliance with the License.
41
  # You may obtain a copy of the License at
@@ -49,7 +50,7 @@ except Exception as e:
49
  # limitations under the License.
50
  ```
51
  ERROR:
52
- ')
53
  traceback.print_exc(file=f)
54
 
55
  finally:
 
35
 
36
  with open('google_embeddinggemma-300m_0.txt', 'a', encoding='utf-8') as f:
37
  import traceback
38
+ f.write('''
39
+ ```CODE:
40
  #@title Licensed under the Apache License, Version 2.0 (the "License");
41
  # you may not use this file except in compliance with the License.
42
  # You may obtain a copy of the License at
 
50
  # limitations under the License.
51
  ```
52
  ERROR:
53
+ ''')
54
  traceback.print_exc(file=f)
55
 
56
  finally: