Abhisksks commited on
Commit
bfb257c
·
verified ·
1 Parent(s): 6591cef

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +0 -23
src/streamlit_app.py CHANGED
@@ -158,26 +158,3 @@ st.sidebar.markdown("---")
158
  st.sidebar.info("App built with [Streamlit](https://streamlit.io) and hosted on [Hugging Face Spaces](https://huggingface.co/spaces).")
159
 
160
 
161
- ### How to Deploy on Hugging Face Spaces (in 5 steps)
162
-
163
- 1. **Create a Hugging Face Account:** If you don't have one, sign up at [huggingface.co](https://huggingface.co).
164
- 2. **Create a New Space:**
165
- * Click on your profile picture and select "New Space".
166
- * Give it a **Space name** (e.g., `pdf-toolkit`).
167
- * Choose a license (e.g., `mit`).
168
- * Select **Streamlit** as the Space SDK.
169
- * Click "Create Space".
170
-
171
- 3. **Add the Files:**
172
- * You will be taken to your new Space repository. Click on the **"Files"** tab.
173
- * Click "Add file" -> "Create new file".
174
- * Name the file `requirements.txt`. Paste the content for `requirements.txt` from above and commit the new file.
175
- * You will see an `app.py` file was already created for you. Click on it, then click the pencil icon to **edit** it.
176
- * **Delete the existing placeholder content** and paste the entire `app.py` code from above. Commit your changes.
177
-
178
- 4. **Wait for it to Build:**
179
- * Go back to the "App" tab. You will see a "Building" status. Hugging Face is now installing Streamlit, PyPDF, and Pillow based on your `requirements.txt` file.
180
- * This usually takes 1-2 minutes.
181
-
182
- 5. **Use Your App!**
183
- * Once it's finished building, your application will be live and ready to use at its public URL (e.g., `https://huggingface.co/spaces/Abhisksks/Pdf_editor`).
 
158
  st.sidebar.info("App built with [Streamlit](https://streamlit.io) and hosted on [Hugging Face Spaces](https://huggingface.co/spaces).")
159
 
160