Alptraum commited on
Commit
7db69d2
·
verified ·
1 Parent(s): e4b0f59

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.