File size: 677 Bytes
8fbdcb2
29a3cbd
 
 
 
910fd6a
5954f3b
8fbdcb2
 
 
910fd6a
7aa8120
910fd6a
7aa8120
910fd6a
29a3cbd
910fd6a
 
 
 
29a3cbd
910fd6a
29a3cbd
910fd6a
29a3cbd
910fd6a
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
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"