Spaces:
Build error
Build error
Test starting InferenceAPI with key
Browse files1234import streamlit as stx = st.slider('Select a value')st.write(x, 'squared is', x * x)12345678910import streamlit as stx = st.slider('Select a value')st.write(x, 'squared is', x * x)# Get the API key from the environment variableapi_key = st.secrets("InferenceKey")# Initialize the Inference API with your model and API keyapi = InferenceApi(repo_id="gpt-3", token=api_key)
app.py+7-1