Hjgugugjhuhjggg commited on
Commit
8245b29
·
verified ·
1 Parent(s): f925f78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, duration=0)
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}]