Fanny1366 commited on
Commit
4f55026
·
verified ·
1 Parent(s): 9601f72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def img2text(url):
14
 
15
  # text2story
16
  def text2story(text):
17
- story_text = "pipeline("text-generation", model="perplexity-ai/r1-1776", trust_remote_code=True)" # to be completed
18
  return story_text
19
 
20
  # text2audio
 
14
 
15
  # text2story
16
  def text2story(text):
17
+ story_text = pipeline("text-generation", model="perplexity-ai/r1-1776", trust_remote_code=True) # to be completed
18
  return story_text
19
 
20
  # text2audio