Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
import os
|
4 |
client = InferenceClient(
|
5 |
provider="hf-inference",
|
6 |
-
api_key=os.
|
7 |
)
|
8 |
def ghibli_art(user_input):
|
9 |
image = client.text_to_image(
|
|
|
3 |
import os
|
4 |
client = InferenceClient(
|
5 |
provider="hf-inference",
|
6 |
+
api_key=os.getenv("HF_API_KEY"),
|
7 |
)
|
8 |
def ghibli_art(user_input):
|
9 |
image = client.text_to_image(
|