mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2025-12-28 23:25:46 +01:00
13 lines
240 B
Python
13 lines
240 B
Python
from yaspin import yaspin
|
|
from yaspin.spinners import Spinners
|
|
|
|
|
|
def spinner_start(text="Processing..."):
|
|
spinner = yaspin(Spinners.line, text=text)
|
|
spinner.start()
|
|
return spinner
|
|
|
|
|
|
def spinner_stop(spinner):
|
|
spinner.stop()
|