alyliann commited on
Commit
8913c56
1 Parent(s): 4217254

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,6 +1,8 @@
 
 
1
  from huggingface_hub import InferenceClient
2
 
3
- client = InferenceClient(api_key="hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
4
 
5
  messages = [
6
  {
 
1
+ import os
2
+ import streamlit as st
3
  from huggingface_hub import InferenceClient
4
 
5
+ client = InferenceClient(api_key=os.environ['HF_KEY'])
6
 
7
  messages = [
8
  {