Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,12 +14,12 @@ def img2text(img):
|
|
| 14 |
|
| 15 |
# text2story
|
| 16 |
def text2story(text):
|
| 17 |
-
story_text = "" # to be completed
|
| 18 |
return story_text
|
| 19 |
|
| 20 |
# text2audio
|
| 21 |
def text2audio(story_text):
|
| 22 |
-
audio_data = "" # to be completed
|
| 23 |
return audio_data
|
| 24 |
|
| 25 |
# program main part
|
|
|
|
| 14 |
|
| 15 |
# text2story
|
| 16 |
def text2story(text):
|
| 17 |
+
story_text = "" # to be completed,见2025-02-22_class.ipynb
|
| 18 |
return story_text
|
| 19 |
|
| 20 |
# text2audio
|
| 21 |
def text2audio(story_text):
|
| 22 |
+
audio_data = "" # to be completed, 直接在task中指定
|
| 23 |
return audio_data
|
| 24 |
|
| 25 |
# program main part
|