vilarin commited on
Commit
ed5044e
·
verified ·
1 Parent(s): 14a069f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -3,7 +3,6 @@ import signal
3
  import threading
4
  import time
5
  import subprocess
6
- import spaces
7
  import asyncio
8
 
9
  OLLAMA = os.path.expanduser("~/ollama")
@@ -93,7 +92,6 @@ def ollama_func(command):
93
  else:
94
  return "No supported command."
95
 
96
- @spaces.GPU()
97
  def launch():
98
  global OLLAMA_SERVICE_THREAD
99
  OLLAMA_SERVICE_THREAD = threading.Thread(target=ollama_service_thread)
 
3
  import threading
4
  import time
5
  import subprocess
 
6
  import asyncio
7
 
8
  OLLAMA = os.path.expanduser("~/ollama")
 
92
  else:
93
  return "No supported command."
94
 
 
95
  def launch():
96
  global OLLAMA_SERVICE_THREAD
97
  OLLAMA_SERVICE_THREAD = threading.Thread(target=ollama_service_thread)