Skip to content

Commit

Permalink
Merge pull request #91 from imDarshanGK/gui-implementation
Browse files Browse the repository at this point in the history
Added GUI for Voice Assistant and sound wave display
  • Loading branch information
suryanshsk authored Oct 9, 2024
2 parents 8949c3c + 7f7ec27 commit b3edeb1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions gui_assistant.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import tkinter as tk
from PIL import Image, ImageTk, ImageOps

root = tk.Tk()
root.title("Voice Assistant GUI")
root.geometry("600x400")
image_path = "sound_wave.png"
image = Image.open(image_path)
image = image.resize((400, 100), Image.Resampling.LANCZOS)
photo = ImageTk.PhotoImage(image)
label = tk.Label(root, image=photo)
label.pack(pady=20)
root.mainloop()
Binary file added sound_wave.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b3edeb1

Please sign in to comment.