Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from gradio_client import Client
|
3 |
|
4 |
-
client = Client("https://tonic1-tulu.hf.space/--replicas/
|
5 |
|
6 |
def Tulu(user_input):
|
7 |
system_prompt = "I am 🌷Tulu2 Created By Tonic-AI. I am a Very Helpful Assistant. I always provide a cautious answer and check my work."
|
@@ -13,7 +13,7 @@ def Tulu(user_input):
|
|
13 |
0.4, # Temperature
|
14 |
0.90, # Top-p (nucleus sampling)
|
15 |
0.90, # Repetition penalty
|
16 |
-
|
17 |
fn_index=0
|
18 |
)
|
19 |
return result
|
|
|
1 |
import gradio as gr
|
2 |
from gradio_client import Client
|
3 |
|
4 |
+
client = Client("https://tonic1-tulu.hf.space/--replicas/qrxbh/")
|
5 |
|
6 |
def Tulu(user_input):
|
7 |
system_prompt = "I am 🌷Tulu2 Created By Tonic-AI. I am a Very Helpful Assistant. I always provide a cautious answer and check my work."
|
|
|
13 |
0.4, # Temperature
|
14 |
0.90, # Top-p (nucleus sampling)
|
15 |
0.90, # Repetition penalty
|
16 |
+
False,
|
17 |
fn_index=0
|
18 |
)
|
19 |
return result
|