Mr-Vicky-01 commited on
Commit
8cd5fe4
·
verified ·
1 Parent(s): d7314a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -59,7 +59,7 @@ def markdown_to_word(markdown_text):
59
  buffer.seek(0)
60
  return buffer
61
 
62
- st.title("SCREENSHOT - DOCUMENT Creator📃")
63
  st.markdown("""
64
  <style>
65
  .justified-text {
@@ -83,13 +83,13 @@ with st.sidebar:
83
  st.write("contact: [Email](mailto:[email protected])")
84
 
85
  fake_image_text = 'please upload a valid screenshot.'
86
-
87
- uploaded_file = st.file_uploader("Updload your Screenshot to convert into word document", type=["png", "jpg", "jpeg"])
88
  if uploaded_file:
89
  st.image(uploaded_file)
90
  button = st.button("Generate Document")
91
  if button:
92
- with st.spinner("Generating a Document"):
93
  text = response(uploaded_file)
94
  st.write(text)
95
 
 
59
  buffer.seek(0)
60
  return buffer
61
 
62
+ st.title("SCREENSHOT🖼️ - DOCUMENT📃")
63
  st.markdown("""
64
  <style>
65
  .justified-text {
 
83
  st.write("contact: [Email](mailto:[email protected])")
84
 
85
  fake_image_text = 'please upload a valid screenshot.'
86
+ st.text("“Upload your screenshot to convert it into a Word document")
87
+ uploaded_file = st.file_uploader("", type=["png", "jpg", "jpeg"])
88
  if uploaded_file:
89
  st.image(uploaded_file)
90
  button = st.button("Generate Document")
91
  if button:
92
+ with st.spinner("Generating a Document..."):
93
  text = response(uploaded_file)
94
  st.write(text)
95