Steven-GU-Yu-Di commited on
Commit
0b69f56
·
verified ·
1 Parent(s): 8e585c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,5 +1,3 @@
1
- !pip install streamlit transformers gtts
2
-
3
  import streamlit as st
4
  from transformers import pipeline
5
  from PIL import Image
@@ -7,7 +5,7 @@ from gtts import gTTS
7
  import os
8
 
9
  # Load the Visual Question Answering (VQA) model
10
- vqa_model = pipeline("question-answering")
11
 
12
  # Create a Streamlit app
13
  st.title("Visual Question Answering and Text-to-Speech")
 
 
 
1
  import streamlit as st
2
  from transformers import pipeline
3
  from PIL import Image
 
5
  import os
6
 
7
  # Load the Visual Question Answering (VQA) model
8
+ #vqa_model = pipeline("question-answering")
9
 
10
  # Create a Streamlit app
11
  st.title("Visual Question Answering and Text-to-Speech")