mgreg555 commited on
Commit
793fe1b
·
verified ·
1 Parent(s): 41f4d08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -24,7 +24,7 @@ print(os.environ["OPENAI_API_KEY"])
24
  """# Preprocessing document"""
25
 
26
  # location of the pdf file/files.
27
- reader = PdfReader('little_prince.pdf')
28
 
29
  # read data from the file
30
  raw_text = ''
@@ -132,9 +132,9 @@ with gr.Blocks() as demo:
132
  chat,
133
  chatbot=chatbot,
134
  title="Doc-chat",
135
- description="Ask about The little Prince!",
136
  theme="soft",
137
- examples=["Who is the little Prince?","What is the capital of France?"],
138
  cache_examples=True,
139
  retry_btn=None,
140
  undo_btn="Delete Previous",
 
24
  """# Preprocessing document"""
25
 
26
  # location of the pdf file/files.
27
+ reader = PdfReader('The_Little_Prince.pdf')
28
 
29
  # read data from the file
30
  raw_text = ''
 
132
  chat,
133
  chatbot=chatbot,
134
  title="Doc-chat",
135
+ description="Ask about The Little Prince!",
136
  theme="soft",
137
+ examples=["Who is the Little Prince?","What is the capital of France?"],
138
  cache_examples=True,
139
  retry_btn=None,
140
  undo_btn="Delete Previous",