mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 14:34:23 +01:00
Created utils.py
This commit is contained in:
6
scripts/utils.py
Normal file
6
scripts/utils.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
def clean_input(prompt: str=''):
|
||||||
|
try:
|
||||||
|
return input(prompt)
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
exit(0)
|
||||||
|
|
||||||
Reference in New Issue
Block a user