Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,18 +8,18 @@ from gradio_client import Client
|
|
8 |
import os
|
9 |
import requests
|
10 |
|
11 |
-
tulu = "https://tonic1-tulu.hf.space/--replicas/
|
12 |
|
13 |
|
14 |
def predict_beta(message, chatbot=[], system_prompt=""):
|
15 |
client = Client(tulu)
|
16 |
|
17 |
try:
|
18 |
-
max_new_tokens =
|
19 |
temperature = 0.4
|
20 |
top_p = 0.9
|
21 |
repetition_penalty = 0.9
|
22 |
-
advanced =
|
23 |
|
24 |
# Making the prediction
|
25 |
result = client.predict(
|
|
|
8 |
import os
|
9 |
import requests
|
10 |
|
11 |
+
tulu = "https://tonic1-tulu.hf.space/--replicas/qrxbh/"
|
12 |
|
13 |
|
14 |
def predict_beta(message, chatbot=[], system_prompt=""):
|
15 |
client = Client(tulu)
|
16 |
|
17 |
try:
|
18 |
+
max_new_tokens = 500
|
19 |
temperature = 0.4
|
20 |
top_p = 0.9
|
21 |
repetition_penalty = 0.9
|
22 |
+
advanced = False
|
23 |
|
24 |
# Making the prediction
|
25 |
result = client.predict(
|