jayparmar0109 commited on
Commit
908f3e3
·
verified ·
1 Parent(s): e19412f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,12 +30,12 @@ def input_image_setup(uploaded_file): # Check if a file has been uploaded
30
  st.set_page_config(page_title="Gemini Image Demo")
31
 
32
  st.header("Generative AI : Business Card Reader")
33
- input=st.text_input("Input Prompt: ",key="input")
34
  uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
35
  image=""
36
  if uploaded_file is not None:
37
  image = Image.open(uploaded_file)
38
  st.image(image, caption="Uploaded Image.", use_column_width=True)
 
39
 
40
  submit=st.button("Submit")
41
 
 
30
  st.set_page_config(page_title="Gemini Image Demo")
31
 
32
  st.header("Generative AI : Business Card Reader")
 
33
  uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
34
  image=""
35
  if uploaded_file is not None:
36
  image = Image.open(uploaded_file)
37
  st.image(image, caption="Uploaded Image.", use_column_width=True)
38
+ input=st.text_input("Input Prompt (Optinal) : ",key="input")
39
 
40
  submit=st.button("Submit")
41