Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from PyPDF2 import PdfReader
|
|
| 6 |
from PIL import Image
|
| 7 |
|
| 8 |
st.title("File Q&A AI Assistant")
|
| 9 |
-
st.write("This app allows you to upload a CSV or PDF file, or enter text and ask questions related to the content. The app uses OpenAI's ChatGPT model to assist you in answering your questions about the uploaded content, which
|
| 10 |
|
| 11 |
messages = [
|
| 12 |
{"role": "system", "content": "You are a professional Question and Answer AI Assistant helping with information in regards to a csv, pdf, and text input file."},
|
|
|
|
| 6 |
from PIL import Image
|
| 7 |
|
| 8 |
st.title("File Q&A AI Assistant")
|
| 9 |
+
st.write("This app allows you to upload a CSV or PDF file, or enter text and ask questions related to the content. The app uses OpenAI's ChatGPT model to assist you in answering your questions about the uploaded content, which is streamed back in real time similar to the ChatGPT interface.")
|
| 10 |
|
| 11 |
messages = [
|
| 12 |
{"role": "system", "content": "You are a professional Question and Answer AI Assistant helping with information in regards to a csv, pdf, and text input file."},
|