DrDomedag commited on
Commit
36de388
·
verified ·
1 Parent(s): 792a55f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -103,8 +103,8 @@ class WordGame:
103
  return "That didn't quite hit the mark. Try again!"
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
- #chatbot.ChatInterface.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
 
 
103
  return "That didn't quite hit the mark. Try again!"
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.ChatInterface.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