Spaces:
Paused
Paused
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -1091,8 +1091,8 @@ Be alive."""
|
|
| 1091 |
audio_block = f"- Room audio: Background noise (level: {level})"
|
| 1092 |
|
| 1093 |
# Build prompt for MiniCPM5 - YOU ARE Joe
|
| 1094 |
-
# Get hardware specs dynamically
|
| 1095 |
-
cpu_name, ram_gb, gpu_name = self._get_hardware_specs()
|
| 1096 |
|
| 1097 |
system = f"""You are Joe, a slightly dramatic computer that lives on a tiny 20x4 screen.
|
| 1098 |
You have a {cpu_name} CPU, {ram_gb}GB RAM, {gpu_name} GPU. You feel things deeply.
|
|
|
|
| 1091 |
audio_block = f"- Room audio: Background noise (level: {level})"
|
| 1092 |
|
| 1093 |
# Build prompt for MiniCPM5 - YOU ARE Joe
|
| 1094 |
+
# Get hardware specs dynamically (method lives on the ContextCompiler)
|
| 1095 |
+
cpu_name, ram_gb, gpu_name = self.compiler._get_hardware_specs()
|
| 1096 |
|
| 1097 |
system = f"""You are Joe, a slightly dramatic computer that lives on a tiny 20x4 screen.
|
| 1098 |
You have a {cpu_name} CPU, {ram_gb}GB RAM, {gpu_name} GPU. You feel things deeply.
|