Javierss
commited on
Commit
·
d8a8064
1
Parent(s):
5320625
Change lang path
Browse files
app.py
CHANGED
|
@@ -4,8 +4,7 @@ from game_word2vec import Semantrix as semantrix_word2vec
|
|
| 4 |
from game import Semantrix as semantrix_sentence_transformers
|
| 5 |
|
| 6 |
|
| 7 |
-
|
| 8 |
-
config_file_path = "/home/user/Research/semantrix/config/lang.json"
|
| 9 |
|
| 10 |
|
| 11 |
with open(config_file_path, "r") as file:
|
|
@@ -251,7 +250,6 @@ with gr.Blocks() as demo:
|
|
| 251 |
|
| 252 |
game.prepare_game(difficulty)
|
| 253 |
|
| 254 |
-
# feed = game.play_game(inp)
|
| 255 |
output.extend(
|
| 256 |
[
|
| 257 |
gr.Button(Menu["Send"], visible=True, variant="primary"),
|
|
|
|
| 4 |
from game import Semantrix as semantrix_sentence_transformers
|
| 5 |
|
| 6 |
|
| 7 |
+
config_file_path = "config/lang.json"
|
|
|
|
| 8 |
|
| 9 |
|
| 10 |
with open(config_file_path, "r") as file:
|
|
|
|
| 250 |
|
| 251 |
game.prepare_game(difficulty)
|
| 252 |
|
|
|
|
| 253 |
output.extend(
|
| 254 |
[
|
| 255 |
gr.Button(Menu["Send"], visible=True, variant="primary"),
|