diff --git a/.gitignore b/.gitignore
index 14ce438..67651d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
__pycache__/
-*/static/Images/
\ No newline at end of file
+**/Images/
\ No newline at end of file
diff --git a/CLIP_example/Readme.md b/CLIP_example/Readme.md
index 34144a0..02ae7a1 100644
--- a/CLIP_example/Readme.md
+++ b/CLIP_example/Readme.md
@@ -9,9 +9,9 @@ To run this example, you need to have docker installed and some knowledge of usi
- The "docker-compose.yml" file has been made using the configurations given on the above mentioned web page.
2. To run the python codes, use the "requirements.txt" file to setup your virtual environment (ex; conda).
```sh
- pip install -r requirements.txt
+ pip install -r app/requirements.txt
```
-3. After spinning up weaviate, run `python3 upload.py --weaviate http://localhost:8080` to start the flask server.
+3. After spinning up weaviate, run `python3 app/upload.py --weaviate http://localhost:8080` to start the flask server.
4. Access the ui via `http://127.0.0.1:5000/`
- Before you run, make sure you have access to the images in Sage
>NOTE: Remember to `docker-compose down` when you are done using the example
@@ -45,7 +45,7 @@ Another example with a text query..
# Adding More Data
- To add different images, change the sage_data_client query in the flask frontend and click "load data"
- you can also clear old data by clicking "clear data" which will delete all images.
-- To add more tests, add images to "static/Test" folder and/or add prompts in "terminal_test.py".
+- To add more tests, add images to "app/static/Test" folder and/or add prompts in "terminal_test.py".
NOTE: I have commented out the part where text can also be added to weaviate. But you can uncomment it and try adding text too.
After adding text, the results may also contain text and images both, for a particular query.
diff --git a/CLIP_example/Dockerfile b/CLIP_example/app/Dockerfile
similarity index 100%
rename from CLIP_example/Dockerfile
rename to CLIP_example/app/Dockerfile
diff --git a/CLIP_example/app.py b/CLIP_example/app/app.py
similarity index 100%
rename from CLIP_example/app.py
rename to CLIP_example/app/app.py
diff --git a/CLIP_example/data.py b/CLIP_example/app/data.py
similarity index 100%
rename from CLIP_example/data.py
rename to CLIP_example/app/data.py
diff --git a/CLIP_example/requirements.txt b/CLIP_example/app/requirements.txt
similarity index 100%
rename from CLIP_example/requirements.txt
rename to CLIP_example/app/requirements.txt
diff --git a/CLIP_example/setup.py b/CLIP_example/app/setup.py
similarity index 100%
rename from CLIP_example/setup.py
rename to CLIP_example/app/setup.py
diff --git a/CLIP_example/static/Test/airplane.jpeg b/CLIP_example/app/static/Test/airplane.jpeg
similarity index 100%
rename from CLIP_example/static/Test/airplane.jpeg
rename to CLIP_example/app/static/Test/airplane.jpeg
diff --git a/CLIP_example/static/Test/forest_fire.jpeg b/CLIP_example/app/static/Test/forest_fire.jpeg
similarity index 100%
rename from CLIP_example/static/Test/forest_fire.jpeg
rename to CLIP_example/app/static/Test/forest_fire.jpeg
diff --git a/CLIP_example/static/Test/police_car.jpeg b/CLIP_example/app/static/Test/police_car.jpeg
similarity index 100%
rename from CLIP_example/static/Test/police_car.jpeg
rename to CLIP_example/app/static/Test/police_car.jpeg
diff --git a/CLIP_example/static/Test/red_car.jpeg b/CLIP_example/app/static/Test/red_car.jpeg
similarity index 100%
rename from CLIP_example/static/Test/red_car.jpeg
rename to CLIP_example/app/static/Test/red_car.jpeg
diff --git a/CLIP_example/static/uploads/clear_sky.jpeg b/CLIP_example/app/static/uploads/clear_sky.jpeg
similarity index 100%
rename from CLIP_example/static/uploads/clear_sky.jpeg
rename to CLIP_example/app/static/uploads/clear_sky.jpeg
diff --git a/CLIP_example/templates/upload.html b/CLIP_example/app/templates/upload.html
similarity index 100%
rename from CLIP_example/templates/upload.html
rename to CLIP_example/app/templates/upload.html
diff --git a/CLIP_example/terminal_test.py b/CLIP_example/app/terminal_test.py
similarity index 100%
rename from CLIP_example/terminal_test.py
rename to CLIP_example/app/terminal_test.py
diff --git a/CLIP_example/test.py b/CLIP_example/app/test.py
similarity index 100%
rename from CLIP_example/test.py
rename to CLIP_example/app/test.py
diff --git a/CLIP_example/upload.py b/CLIP_example/app/upload.py
similarity index 100%
rename from CLIP_example/upload.py
rename to CLIP_example/app/upload.py