Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ This demo allows you to have a conversation with Sesame CSM 1B, leveraging Whisp
|
|
42 |
SPEAKER_ID = 0 # Arbitrary speaker ID
|
43 |
MAX_CONTEXT_SEGMENTS = 5
|
44 |
MAX_GEMMA_LENGTH = 300
|
45 |
-
device = "cuda" if torch.cuda.is_available() else "cpu"
|
46 |
|
47 |
# Global conversation history
|
48 |
conversation_history = []
|
|
|
42 |
SPEAKER_ID = 0 # Arbitrary speaker ID
|
43 |
MAX_CONTEXT_SEGMENTS = 5
|
44 |
MAX_GEMMA_LENGTH = 300
|
45 |
+
device = "cuda" # if torch.cuda.is_available() else "cpu"
|
46 |
|
47 |
# Global conversation history
|
48 |
conversation_history = []
|