Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,10 @@ import gradio as gr
|
|
4 |
from model import llm_chain_response, get_response_value
|
5 |
from process_documents import create_db_from_files
|
6 |
|
7 |
-
|
8 |
-
|
|
|
|
|
9 |
|
10 |
llm_chain = llm_chain_response()
|
11 |
|
|
|
4 |
from model import llm_chain_response, get_response_value
|
5 |
from process_documents import create_db_from_files
|
6 |
|
7 |
+
import subprocess
|
8 |
+
|
9 |
+
# Install unsloth
|
10 |
+
subprocess.run(["pip", "install", "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"])
|
11 |
|
12 |
llm_chain = llm_chain_response()
|
13 |
|