Eason918 commited on
Commit
ee966b7
·
verified ·
1 Parent(s): 0559d83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from gtts import gTTS
5
  import os
6
  os.system("pip install transformers==4.36.2")
7
 
8
- # 加載 Hugging Face 模型
9
  image_to_text_model = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")
10
  story_generator = pipeline("text-generation", model="facebook/opt-1.3b")
11
 
 
5
  import os
6
  os.system("pip install transformers==4.36.2")
7
 
8
+ # 加載 Hugging Face 的模型
9
  image_to_text_model = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")
10
  story_generator = pipeline("text-generation", model="facebook/opt-1.3b")
11