debug
Browse files
app.py
CHANGED
@@ -19,6 +19,8 @@ from llama_index.core import (
|
|
19 |
|
20 |
from llama_parse import LlamaParse
|
21 |
|
|
|
|
|
22 |
from streamlit_pdf_viewer import pdf_viewer
|
23 |
|
24 |
MAX_OUTPUT_TOKENS = 2048
|
@@ -81,7 +83,7 @@ def main():
|
|
81 |
|
82 |
# Enter LLM API Key
|
83 |
llm_key = st.text_input(
|
84 |
-
"Enter your LLM API Key",
|
85 |
value=None,
|
86 |
)
|
87 |
|
|
|
19 |
|
20 |
from llama_parse import LlamaParse
|
21 |
|
22 |
+
from transformers import AutoTokenizer
|
23 |
+
|
24 |
from streamlit_pdf_viewer import pdf_viewer
|
25 |
|
26 |
MAX_OUTPUT_TOKENS = 2048
|
|
|
83 |
|
84 |
# Enter LLM API Key
|
85 |
llm_key = st.text_input(
|
86 |
+
"Enter your LLM provider API Key",
|
87 |
value=None,
|
88 |
)
|
89 |
|