Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def img2text(url):
|
|
14 |
|
15 |
# text2story
|
16 |
def text2story(text):
|
17 |
-
story_text =
|
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
|