Spaces:
Build error
Build error
Update app.py
Browse files8 unmodified lines91011121314157 unmodified lines2324252627288 unmodified lines"""# Initialize clientclient = Client("https://ysharma-explore-llamav2-with-tgi.hf.space/")with st.sidebar:7 unmodified lines# Prediction functiondef predict(message, system_prompt, temperature, max_new_tokens,Topp,Repetitionpenalty):with st.status("Requesting LLama-2"):st.write("Requesting API")response = client.predict(8 unmodified lines910111213147 unmodified lines2223242526272829308 unmodified lines"""# Initialize clientwith st.sidebar:7 unmodified lines# Prediction functiondef predict(message, system_prompt, temperature, max_new_tokens,Topp,Repetitionpenalty):with st.status("Starting client"):client = Client("https://ysharma-explore-llamav2-with-tgi.hf.space/")st.write("Requesting client")with st.status("Requesting LLama-2"):st.write("Requesting API")response = client.predict(
app.py+3-1