rename a file
Browse files- games/angrybirds/angrybirds.py +1 -1
- games/{common.py → game_openai.py} +0 -0
- games/snake/snake.py +1 -1
- main.py +1 -1
games/angrybirds/angrybirds.py
CHANGED
|
@@ -3,7 +3,7 @@ from pathlib import Path
|
|
| 3 |
|
| 4 |
import openai
|
| 5 |
from games.game import game
|
| 6 |
-
from games.
|
| 7 |
from games.angrybirds.config import config
|
| 8 |
|
| 9 |
debug = 2
|
|
|
|
| 3 |
|
| 4 |
import openai
|
| 5 |
from games.game import game
|
| 6 |
+
from games.game_openai import api_key
|
| 7 |
from games.angrybirds.config import config
|
| 8 |
|
| 9 |
debug = 2
|
games/{common.py → game_openai.py}
RENAMED
|
File without changes
|
games/snake/snake.py
CHANGED
|
@@ -3,7 +3,7 @@ from pathlib import Path
|
|
| 3 |
|
| 4 |
import openai
|
| 5 |
from games.game import game
|
| 6 |
-
from games.
|
| 7 |
|
| 8 |
debug = 2
|
| 9 |
|
|
|
|
| 3 |
|
| 4 |
import openai
|
| 5 |
from games.game import game
|
| 6 |
+
from games.game_openai import api_key
|
| 7 |
|
| 8 |
debug = 2
|
| 9 |
|
main.py
CHANGED
|
@@ -11,4 +11,4 @@ async def root():
|
|
| 11 |
|
| 12 |
@app.get("/nlp")
|
| 13 |
def test(game: str, command: str):
|
| 14 |
-
return game_util.nlp(game, command)
|
|
|
|
| 11 |
|
| 12 |
@app.get("/nlp")
|
| 13 |
def test(game: str, command: str):
|
| 14 |
+
return game_util.nlp(game, command)
|