Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ serve_process = Process(target=run_ollama_serve)
|
|
| 51 |
serve_process.start()
|
| 52 |
|
| 53 |
# subprocess.run(["sudo", "apt", "install", "-y", "pciutils", "lshw"], check=True)
|
| 54 |
-
subprocess.run(["curl", "-fsSL", "https://ollama.com/install.sh", "|", "sh"], shell=True, check=True)
|
| 55 |
subprocess.run(["ollama", "pull", "snowflake-arctic-embed2"], check=True)
|
| 56 |
|
| 57 |
# Define the Gradio interface
|
|
|
|
| 51 |
serve_process.start()
|
| 52 |
|
| 53 |
# subprocess.run(["sudo", "apt", "install", "-y", "pciutils", "lshw"], check=True)
|
| 54 |
+
# subprocess.run(["curl", "-fsSL", "https://ollama.com/install.sh", "|", "sh"], shell=True, check=True)
|
| 55 |
subprocess.run(["ollama", "pull", "snowflake-arctic-embed2"], check=True)
|
| 56 |
|
| 57 |
# Define the Gradio interface
|