Update app.py
Browse files
app.py
CHANGED
|
@@ -104,7 +104,7 @@ class WordGame:
|
|
| 104 |
|
| 105 |
def update_status(self, message=""):
|
| 106 |
#gr.ChatInterface.update(title=f'The Game - Current score: {self.points}, remaining attempts: {self.attempts}, target word: "{self.target_word}" {message}')
|
| 107 |
-
self.chatbot.
|
| 108 |
return f'Current score: {self.points}, remaining attempts: {self.attempts}, target word: "{self.target_word}" {message}'
|
| 109 |
|
| 110 |
|
|
|
|
| 104 |
|
| 105 |
def update_status(self, message=""):
|
| 106 |
#gr.ChatInterface.update(title=f'The Game - Current score: {self.points}, remaining attempts: {self.attempts}, target word: "{self.target_word}" {message}')
|
| 107 |
+
self.chatbot.update(title=f'The Game - Current score: {self.points}, remaining attempts: {self.attempts}, target word: "{self.target_word}" {message}')
|
| 108 |
return f'Current score: {self.points}, remaining attempts: {self.attempts}, target word: "{self.target_word}" {message}'
|
| 109 |
|
| 110 |
|