Update app_template.py
Browse files- app_template.py +3 -3
app_template.py
CHANGED
@@ -3,18 +3,18 @@ from gradio_client import Client
|
|
3 |
import os
|
4 |
import requests
|
5 |
|
6 |
-
tulu = "https://tonic1-tulu.hf.space/--replicas/
|
7 |
|
8 |
|
9 |
def predict_beta(message, chatbot=[], system_prompt=""):
|
10 |
client = Client(tulu)
|
11 |
|
12 |
try:
|
13 |
-
max_new_tokens =
|
14 |
temperature = 0.4
|
15 |
top_p = 0.9
|
16 |
repetition_penalty = 0.9
|
17 |
-
advanced =
|
18 |
|
19 |
# Making the prediction
|
20 |
result = client.predict(
|
|
|
3 |
import os
|
4 |
import requests
|
5 |
|
6 |
+
tulu = "https://tonic1-tulu.hf.space/--replicas/qrxbh/"
|
7 |
|
8 |
|
9 |
def predict_beta(message, chatbot=[], system_prompt=""):
|
10 |
client = Client(tulu)
|
11 |
|
12 |
try:
|
13 |
+
max_new_tokens = 350
|
14 |
temperature = 0.4
|
15 |
top_p = 0.9
|
16 |
repetition_penalty = 0.9
|
17 |
+
advanced = False
|
18 |
|
19 |
# Making the prediction
|
20 |
result = client.predict(
|