Skip to content

Commit

Permalink
MINOR UPDATES
Browse files Browse the repository at this point in the history
  • Loading branch information
julio-romero committed Mar 14, 2024
1 parent eee3afd commit b60ba7e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions images_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions websites_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,29 +54,29 @@ 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(
frame, text="Browse", command=lambda: select_directory(output_path_entry)
).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(
Expand Down

0 comments on commit b60ba7e

Please sign in to comment.