Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ api_key = os.getenv("HF_TOKEN")
|
|
| 14 |
|
| 15 |
# Instantiate the InferenceClient
|
| 16 |
#client = InferenceClient(api_key=api_key)
|
| 17 |
-
|
| 18 |
|
| 19 |
# Streamlit app title
|
| 20 |
st.title("LM using HF Inference API (serverless) feature.")
|
|
|
|
| 14 |
|
| 15 |
# Instantiate the InferenceClient
|
| 16 |
#client = InferenceClient(api_key=api_key)
|
| 17 |
+
client = new HfInference(api-key)
|
| 18 |
|
| 19 |
# Streamlit app title
|
| 20 |
st.title("LM using HF Inference API (serverless) feature.")
|