Spaces:
Running
on
Zero
Running
on
Zero
Daemontatox
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -14,9 +14,9 @@ import gradio as gr
|
|
14 |
from threading import Thread
|
15 |
|
16 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
17 |
-
MODEL = "Daemontatox/
|
18 |
|
19 |
-
TITLE = "<h1><center>
|
20 |
|
21 |
PLACEHOLDER = """
|
22 |
<center>
|
@@ -63,7 +63,7 @@ def stream_chat(
|
|
63 |
history: list,
|
64 |
system_prompt: str,
|
65 |
temperature: float = 0.8,
|
66 |
-
max_new_tokens: int =
|
67 |
top_p: float = 1.0,
|
68 |
top_k: int = 20,
|
69 |
penalty: float = 1.2,
|
|
|
14 |
from threading import Thread
|
15 |
|
16 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
17 |
+
MODEL = "Daemontatox/R_Marco_polo"
|
18 |
|
19 |
+
TITLE = "<h1><center>Reason</center></h1>"
|
20 |
|
21 |
PLACEHOLDER = """
|
22 |
<center>
|
|
|
63 |
history: list,
|
64 |
system_prompt: str,
|
65 |
temperature: float = 0.8,
|
66 |
+
max_new_tokens: int = 2048,
|
67 |
top_p: float = 1.0,
|
68 |
top_k: int = 20,
|
69 |
penalty: float = 1.2,
|