Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
|
|
|
|
1 |
from huggingface_hub import InferenceClient
|
2 |
|
3 |
-
client = InferenceClient(api_key=
|
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 |
{
|