diff --git a/images_app.py b/images_app.py index cc79cba..e1a79e9 100644 --- a/images_app.py +++ b/images_app.py @@ -39,14 +39,14 @@ def run_app(root): root.title("Emotion Heatmap Generator") # Layout for directory selection - ttk.Label(root, text="IMOTIONS_PATH:").grid(row=0, column=0) + ttk.Label(root, text="iMotions Path:").grid(row=0, column=0) imotions_path_entry = ttk.Entry(root) imotions_path_entry.grid(row=0, column=1) ttk.Button( root, text="Browse", command=lambda: select_directory(imotions_path_entry) ).grid(row=0, column=2) - ttk.Label(root, text="OUTPUT_PATH:").grid(row=1, column=0) + ttk.Label(root, text="Output Path:").grid(row=1, column=0) output_path_entry = ttk.Entry(root) output_path_entry.grid(row=1, column=1) ttk.Button( diff --git a/requirements.txt b/requirements.txt index 8b9a653..f88a920 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,3 +15,6 @@ scikit-learn==1.4.1.post1 # This installs matplotlib and numpy seaborn==0.13.2 + +# For the plotting +ipython==8.22.2 diff --git a/websites_app.py b/websites_app.py index b6b643a..5d0331f 100644 --- a/websites_app.py +++ b/websites_app.py @@ -54,21 +54,21 @@ def generate_heatmap(): frame = Frame(root) frame.pack(pady=20) - Label(frame, text="IMOTIONS_CSV:").grid(row=0, column=0, padx=5, pady=5) + Label(frame, text="iMotions CSV:").grid(row=0, column=0, padx=5, pady=5) imotions_entry = tk.Entry(frame) imotions_entry.grid(row=0, column=1, padx=5, pady=5) Button(frame, text="Browse", command=lambda: select_file(imotions_entry)).grid( row=0, column=2, padx=5, pady=5 ) - Label(frame, text="SCROLL_CSV:").grid(row=1, column=0, padx=5, pady=5) + Label(frame, text="Scroll CSV:").grid(row=1, column=0, padx=5, pady=5) scroll_entry = tk.Entry(frame) scroll_entry.grid(row=1, column=1, padx=5, pady=5) Button(frame, text="Browse", command=lambda: select_file(scroll_entry)).grid( row=1, column=2, padx=5, pady=5 ) - Label(frame, text="OUTPUT_PATH:").grid(row=2, column=0, padx=5, pady=5) + Label(frame, text="Output Path:").grid(row=2, column=0, padx=5, pady=5) output_path_entry = tk.Entry(frame) output_path_entry.grid(row=2, column=1, padx=5, pady=5) Button( @@ -76,7 +76,7 @@ def generate_heatmap(): ).grid(row=2, column=2, padx=5, pady=5) # screenshot file input - Label(frame, text="Screenshot:").grid(row=3, column=0, padx=5, pady=5) + Label(frame, text="Website Screenshot:").grid(row=3, column=0, padx=5, pady=5) screenshot_entry = tk.Entry(frame) screenshot_entry.grid(row=3, column=1, padx=5, pady=5) Button(frame, text="Browse", command=lambda: select_file(screenshot_entry)).grid(