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