Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,7 @@
|
|
| 1 |
import chat
|
| 2 |
-
from chat import start_game
|
| 3 |
import gradio
|
| 4 |
|
| 5 |
-
def initialize_game(game_id, user_id):
|
| 6 |
result = chat.initialize_game(game_id, user_id, user_input)
|
| 7 |
response = {'role': 'assistant', 'content': result}
|
| 8 |
return response
|
|
|
|
| 1 |
import chat
|
|
|
|
| 2 |
import gradio
|
| 3 |
|
| 4 |
+
def initialize_game(game_id, user_id, user_input):
|
| 5 |
result = chat.initialize_game(game_id, user_id, user_input)
|
| 6 |
response = {'role': 'assistant', 'content': result}
|
| 7 |
return response
|