We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ac2df3 commit 6bdb1faCopy full SHA for 6bdb1fa
aishell/main.py
@@ -1,9 +1,9 @@
1
#!/usr/bin/env python
2
3
-from revChatGPT.Official import Chatbot
4
-
5
import os
+
6
import typer
+from revChatGPT.Official import Chatbot
7
8
API_KEY = os.environ.get('OPENAI_API_KEY') or ''
9
@@ -47,7 +47,7 @@ def make_prompt(requirements: str) -> str:
47
def ask(text: str):
48
question = make_prompt(text)
49
response = ask_chatgpt(question)
50
- typer.echo(f'\033[3mexecuted: {response}\033[0m')
+ typer.echo(f'\033[3mexecuting: {response}\033[0m')
51
os.system(response)
52
53
0 commit comments