Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,8 +31,7 @@ logging.basicConfig(stream=sys.stdout, level=logging.INFO)
|
|
31 |
logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))
|
32 |
reader= SimpleDirectoryReader(
|
33 |
input_files=["[The Oxford Series in Electrical and Computer Engineering] Ding, Zhi; Lathi, Bhagwandas Pannalal - Modern digital and analog communication systems (2018;2019, Oxford University Press, USA)(Z-Lib.io).pdf",
|
34 |
-
"Lin_K_IT data.pdf","DR.Hadeer Info.pdf
|
35 |
-
"])
|
36 |
docs = reader.load_data()
|
37 |
os.environ["OPENAI_API_KEY"]='sk-proj-FIDzQfmAoZxcQhGVDCYyT3BlbkFJGEmkijeCLp9x9Fn3kqwv'
|
38 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
|
|
31 |
logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))
|
32 |
reader= SimpleDirectoryReader(
|
33 |
input_files=["[The Oxford Series in Electrical and Computer Engineering] Ding, Zhi; Lathi, Bhagwandas Pannalal - Modern digital and analog communication systems (2018;2019, Oxford University Press, USA)(Z-Lib.io).pdf",
|
34 |
+
"Lin_K_IT data.pdf","DR.Hadeer Info.pdf"])
|
|
|
35 |
docs = reader.load_data()
|
36 |
os.environ["OPENAI_API_KEY"]='sk-proj-FIDzQfmAoZxcQhGVDCYyT3BlbkFJGEmkijeCLp9x9Fn3kqwv'
|
37 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|