Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from datetime import datetime
|
|
| 3 |
from pathlib import Path
|
| 4 |
from threading import Thread
|
| 5 |
from huggingface_hub import hf_hub_download, login
|
| 6 |
-
from themes.research_monochrome import
|
| 7 |
from typing import Iterator, List, Dict
|
| 8 |
|
| 9 |
import os
|
|
@@ -70,6 +70,7 @@ command = ["./" + exe_name, "-m", gguf_name, "--temp", "0.0", "-c", "2048", "-t"
|
|
| 70 |
process = subprocess.Popen(command)
|
| 71 |
print(f"Llama-server process started with PID {process.pid}")
|
| 72 |
|
|
|
|
| 73 |
print("Theme type:", type(custom_theme))
|
| 74 |
|
| 75 |
def generate(
|
|
|
|
| 3 |
from pathlib import Path
|
| 4 |
from threading import Thread
|
| 5 |
from huggingface_hub import hf_hub_download, login
|
| 6 |
+
from themes.research_monochrome import ResearchMonochrome
|
| 7 |
from typing import Iterator, List, Dict
|
| 8 |
|
| 9 |
import os
|
|
|
|
| 70 |
process = subprocess.Popen(command)
|
| 71 |
print(f"Llama-server process started with PID {process.pid}")
|
| 72 |
|
| 73 |
+
custom_theme = ResearchMonochrome()
|
| 74 |
print("Theme type:", type(custom_theme))
|
| 75 |
|
| 76 |
def generate(
|