koey811 commited on
Commit
9fda940
·
verified ·
1 Parent(s): 0150e3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -17,9 +17,7 @@ except ImportError:
17
  # Load the image captioning model
18
  caption_model = pipeline("image-to-text", model="unography/blip-large-long-cap")
19
 
20
- #story_generator = pipeline("text-generation", model="distilbert/distilgpt2")
21
-
22
- story_generator = pipeline("text-generation", model="isarth/distill_gpt2_story_generator")
23
 
24
 
25
  def generate_caption(image):
 
17
  # Load the image captioning model
18
  caption_model = pipeline("image-to-text", model="unography/blip-large-long-cap")
19
 
20
+ story_generator = pipeline("text-generation", model="distilbert/distilgpt2")
 
 
21
 
22
 
23
  def generate_caption(image):