Update maker.py
Browse files
maker.py
CHANGED
@@ -9,7 +9,7 @@ import os
|
|
9 |
HF_TOKEN = os.environ["HF_TOKEN"]
|
10 |
HEADERS = {"Authorization": f"Bearer {HF_TOKEN}"}
|
11 |
|
12 |
-
tulu = "https://tonic1-tulu.hf.space/--replicas/
|
13 |
|
14 |
|
15 |
welcome_message = """
|
@@ -77,7 +77,7 @@ Sure, I'd be happy to help you build a bot! I'm generating a title, system promp
|
|
77 |
# Example input: Create a character with the Power Level 10
|
78 |
"""
|
79 |
|
80 |
-
def predict_beta(message, chatbot=[], system_prompt=system_prompt, max_new_tokens=
|
81 |
client = Client(tulu)
|
82 |
try:
|
83 |
result = client.predict(
|
|
|
9 |
HF_TOKEN = os.environ["HF_TOKEN"]
|
10 |
HEADERS = {"Authorization": f"Bearer {HF_TOKEN}"}
|
11 |
|
12 |
+
tulu = "https://tonic1-tulu.hf.space/--replicas/qrxbh/"
|
13 |
|
14 |
|
15 |
welcome_message = """
|
|
|
77 |
# Example input: Create a character with the Power Level 10
|
78 |
"""
|
79 |
|
80 |
+
def predict_beta(message, chatbot=[], system_prompt=system_prompt, max_new_tokens=500, temperature=0.4, top_p=0.90, repetition_penalty=0.90, advanced=False):
|
81 |
client = Client(tulu)
|
82 |
try:
|
83 |
result = client.predict(
|