Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ model.eval()
|
|
33 |
|
34 |
# Function to generate code
|
35 |
|
36 |
-
@spaces.
|
37 |
def generate_code(prompt, max_length):
|
38 |
# Prepare the input chat format
|
39 |
chat = [
|
|
|
33 |
|
34 |
# Function to generate code
|
35 |
|
36 |
+
@spaces.GPU
|
37 |
def generate_code(prompt, max_length):
|
38 |
# Prepare the input chat format
|
39 |
chat = [
|