AlyxTeam commited on
Commit
33b9ae9
·
1 Parent(s): 0b2ff15

feat: 调整依赖

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import spaces
2
- from transformers import pipeline
3
  import gradio as gr
 
4
 
5
  pipe = pipeline("feature-extraction", model="jinaai/jina-embeddings-v2-base-code", trust_remote_code=True)
6
  pipe.to('cuda')
 
1
  import spaces
 
2
  import gradio as gr
3
+ from transformers import pipeline
4
 
5
  pipe = pipeline("feature-extraction", model="jinaai/jina-embeddings-v2-base-code", trust_remote_code=True)
6
  pipe.to('cuda')