neha-ai-playground commited on
Commit
f4bce7b
·
1 Parent(s): cb0d41b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -17,7 +17,7 @@ def img2Text(url):
17
  st.subheader(text)
18
  print(text)
19
  return text
20
- img2Text("photo.png")
21
 
22
  #llm
23
  def generate_story(scenario):
@@ -37,4 +37,7 @@ def generate_story(scenario):
37
  st.subheader("Story :")
38
  st.subheader(story)
39
  print(story)
40
- return story
 
 
 
 
17
  st.subheader(text)
18
  print(text)
19
  return text
20
+ img2Text("photo.jpg")
21
 
22
  #llm
23
  def generate_story(scenario):
 
37
  st.subheader("Story :")
38
  st.subheader(story)
39
  print(story)
40
+ return story
41
+
42
+ scenario = img2Text("photo.jpg")
43
+ story = generate_story(scenario)