Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ print("Loading Gemma Text Encoder...")
|
|
| 34 |
print("=" * 80)
|
| 35 |
|
| 36 |
checkpoint_path = get_hub_or_local_checkpoint(DEFAULT_REPO_ID, DEFAULT_CHECKPOINT_FILENAME)
|
| 37 |
-
device =
|
| 38 |
|
| 39 |
print(f"Initializing text encoder with:")
|
| 40 |
print(f" checkpoint_path={checkpoint_path}")
|
|
|
|
| 34 |
print("=" * 80)
|
| 35 |
|
| 36 |
checkpoint_path = get_hub_or_local_checkpoint(DEFAULT_REPO_ID, DEFAULT_CHECKPOINT_FILENAME)
|
| 37 |
+
device = "cuda"
|
| 38 |
|
| 39 |
print(f"Initializing text encoder with:")
|
| 40 |
print(f" checkpoint_path={checkpoint_path}")
|