Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,23 +70,8 @@ def initialize():
|
|
| 70 |
|
| 71 |
kadiAPY_bot = KadiAPYBot(llm, vectorstore)
|
| 72 |
|
| 73 |
-
|
| 74 |
-
#result = store_message_from_json(HF_TOKEN)
|
| 75 |
-
#print(result)
|
| 76 |
-
#manage_hf_files(HF_TOKEN)
|
| 77 |
initialize()
|
| 78 |
|
| 79 |
-
# Get the current working directory
|
| 80 |
-
working_directory = os.getcwd()
|
| 81 |
-
|
| 82 |
-
# Walk through the working directory and list all files
|
| 83 |
-
print("Listing all files starting from the current working directory:")
|
| 84 |
-
for root, dirs, files in os.walk(working_directory):
|
| 85 |
-
for file in files:
|
| 86 |
-
file_path = os.path.join(root, file)
|
| 87 |
-
print(file_path)
|
| 88 |
-
|
| 89 |
-
|
| 90 |
|
| 91 |
|
| 92 |
|
|
|
|
| 70 |
|
| 71 |
kadiAPY_bot = KadiAPYBot(llm, vectorstore)
|
| 72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
initialize()
|
| 74 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
|
| 76 |
|
| 77 |
|