Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from PIL import Image
|
|
6 |
|
7 |
|
8 |
api_key = os.environ.get("HF_API_KEY")
|
9 |
-
API_URL = "https://api-inference.huggingface.co/models/multimodalart/
|
10 |
headers = {"Authorization": f"Bearer {api_key}"}
|
11 |
|
12 |
# Function to query the model
|
@@ -33,9 +33,8 @@ with gr.Blocks(theme="nevreal/blues") as demo:
|
|
33 |
# Add examples
|
34 |
examples = gr.Examples(
|
35 |
examples=[
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"a vintage ad of neuralink, a person with a brain computer implant, vtgads; it reads 'neuralink' on the top and 'if you can't defeat the AI, join it!'"
|
39 |
],
|
40 |
inputs=prompt,
|
41 |
)
|
|
|
6 |
|
7 |
|
8 |
api_key = os.environ.get("HF_API_KEY")
|
9 |
+
API_URL = "https://api-inference.huggingface.co/models/multimodalart/liminal-spaces"
|
10 |
headers = {"Authorization": f"Bearer {api_key}"}
|
11 |
|
12 |
# Function to query the model
|
|
|
33 |
# Add examples
|
34 |
examples = gr.Examples(
|
35 |
examples=[
|
36 |
+
"A person in a bustling cafe as a liminal space",
|
37 |
+
"The city of Paris as a liminal space"
|
|
|
38 |
],
|
39 |
inputs=prompt,
|
40 |
)
|