turtle170 commited on
Commit
551f9be
·
verified ·
1 Parent(s): 208e7fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -943,6 +943,7 @@ class ZeroEngine:
943
  return "⚡ Primed"
944
 
945
  def inference_generator(self, prompt: str, history: List[Dict], ghost_context: str, repo: str, quant: str, username: str) -> Generator:
 
946
  # Update activity timestamp
947
  self.update_activity()
948
 
 
943
  return "⚡ Primed"
944
 
945
  def inference_generator(self, prompt: str, history: List[Dict], ghost_context: str, repo: str, quant: str, username: str) -> Generator:
946
+ username = profile.username if profile else "anonymous"
947
  # Update activity timestamp
948
  self.update_activity()
949