Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from PIL import Image
|
|
| 6 |
|
| 7 |
st.title("Cinematic Text-to-Image Generation")
|
| 8 |
st.write("Enter text and generate cinematic photo. Optional tag is POV")
|
| 9 |
-
prompt = st.
|
| 10 |
hf_token = os.environ.get("API_TOKEN")
|
| 11 |
headers = {"Authorization": f"Bearer {hf_token}"}
|
| 12 |
API_URL = "https://api-inference.huggingface.co/models/TheLastBen/Filmic"
|
|
|
|
| 6 |
|
| 7 |
st.title("Cinematic Text-to-Image Generation")
|
| 8 |
st.write("Enter text and generate cinematic photo. Optional tag is POV")
|
| 9 |
+
prompt = st.text_input("Enter prompt")
|
| 10 |
hf_token = os.environ.get("API_TOKEN")
|
| 11 |
headers = {"Authorization": f"Bearer {hf_token}"}
|
| 12 |
API_URL = "https://api-inference.huggingface.co/models/TheLastBen/Filmic"
|