Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,13 @@ import os
|
|
| 5 |
from replicate import Client
|
| 6 |
from PIL import Image
|
| 7 |
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
model_name = "andreasjansson/illusion:75d51a73fce3c00de31ed9ab4358c73e8fc0f627dc8ce975818e653317cb919b"
|
| 10 |
example_image = "https://replicate.delivery/pbxt/hHJNV9QteKX8DK2ckkUeXsqbEIKNGFXU1fN0MJoizz3iPlOjA/output-0.png"
|
| 11 |
|
|
|
|
| 5 |
from replicate import Client
|
| 6 |
from PIL import Image
|
| 7 |
|
| 8 |
+
st.title("Illusion Diffusion by Aiconvert.online")
|
| 9 |
+
st.markdown('<style>h1{color: #191970; text-align: center;}</style>', unsafe_allow_html=True)
|
| 10 |
+
|
| 11 |
+
replicate_token = st.text_input("Enter your Replicate API Token")
|
| 12 |
+
|
| 13 |
+
if replicate_token:
|
| 14 |
+
illuse = Client(api_token=replicate_token)
|
| 15 |
model_name = "andreasjansson/illusion:75d51a73fce3c00de31ed9ab4358c73e8fc0f627dc8ce975818e653317cb919b"
|
| 16 |
example_image = "https://replicate.delivery/pbxt/hHJNV9QteKX8DK2ckkUeXsqbEIKNGFXU1fN0MJoizz3iPlOjA/output-0.png"
|
| 17 |
|