djohari commited on
Commit
5a4219e
·
verified ·
1 Parent(s): 8c044f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  # function part
2
  # img2text
3
  def img2text(url):
@@ -18,8 +21,6 @@ def text2audio(story_text):
18
  return audio_data
19
 
20
 
21
- import streamlit as st
22
- from transformers import pipeline
23
 
24
  st.set_page_config(page_title="Your Image to Audio Story",
25
  page_icon="🦜")
 
1
+
2
+ import streamlit as st
3
+ from transformers import pipeline
4
  # function part
5
  # img2text
6
  def img2text(url):
 
21
  return audio_data
22
 
23
 
 
 
24
 
25
  st.set_page_config(page_title="Your Image to Audio Story",
26
  page_icon="🦜")