Spaces:
Running
Running
Update app.py
Browse files
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 |
|