Spaces:
Sleeping
Sleeping
Commit
·
482d5b3
1
Parent(s):
1cd66b7
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def transcribe(wav_path):
|
|
32 |
# Prediction function
|
33 |
def predict(message, system_prompt='', temperature=0.7, max_new_tokens=4096,Topp=0.5,Repetitionpenalty=1.2):
|
34 |
with st.status("Starting client"):
|
35 |
-
client = Client("https://
|
36 |
st.write("Requesting client")
|
37 |
with st.status("Requesting LLama-2"):
|
38 |
st.write("Requesting API")
|
|
|
32 |
# Prediction function
|
33 |
def predict(message, system_prompt='', temperature=0.7, max_new_tokens=4096,Topp=0.5,Repetitionpenalty=1.2):
|
34 |
with st.status("Starting client"):
|
35 |
+
client = Client("https://huggingface-projects-llama-2-7b-chat.hf.space/--replicas/gm5p8/")
|
36 |
st.write("Requesting client")
|
37 |
with st.status("Requesting LLama-2"):
|
38 |
st.write("Requesting API")
|