Hjgugugjhuhjggg
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ llm = Llama.from_pretrained(
|
|
9 |
)
|
10 |
|
11 |
# Función para manejar la entrada de texto con anotación @spaces.GPU
|
12 |
-
@spaces.GPU(enable_queue=False
|
13 |
def generate_response(text):
|
14 |
result = llm.create_chat_completion(
|
15 |
messages=[{"role": "user", "content": text}]
|
|
|
9 |
)
|
10 |
|
11 |
# Función para manejar la entrada de texto con anotación @spaces.GPU
|
12 |
+
@spaces.GPU(enable_queue=False)
|
13 |
def generate_response(text):
|
14 |
result = llm.create_chat_completion(
|
15 |
messages=[{"role": "user", "content": text}]
|