Spaces:
Sleeping
Sleeping
| title: Document Parser GPT | |
| emoji: ๐ | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: streamlit | |
| app_port: 8501 | |
| pinned: false | |
| # Document Parser Streamlit App | |
| This is a Streamlit app for uploading documents and chatting with a GPT-4 powered assistant. | |
| ## Features | |
| - Upload multiple document types (PDF, DOCX, TXT, etc.) | |
| - Ask questions about the uploaded documents | |
| - Download the conversation as TXT or JSON | |
| - Simple settings for OpenAI API key and model temperature | |
| ## Important Configuration | |
| To avoid permission issues on Hugging Face Spaces, the following environment variable is set in the app: | |
| ```python | |
| import os | |
| os.environ["STREAMLIT_CONFIG_DIR"] = "/tmp/.streamlit" | |