Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
13 |
torch_dtype='auto'
|
14 |
).eval()
|
15 |
|
16 |
-
@
|
17 |
# Define the chatbot function
|
18 |
def chatbot(message, history):
|
19 |
# Prepare the messages for the model
|
|
|
13 |
torch_dtype='auto'
|
14 |
).eval()
|
15 |
|
16 |
+
@spaces.GPU
|
17 |
# Define the chatbot function
|
18 |
def chatbot(message, history):
|
19 |
# Prepare the messages for the model
|