Spaces:
Running
Running
philipp-zettl
commited on
Commit
•
a1d7b87
1
Parent(s):
3003a44
fix app
Browse files
app.py
CHANGED
@@ -19,7 +19,6 @@ st.title("Text to Image Model testing")
|
|
19 |
st.session_state.token = st.text_input("Enter your API token", type="password")
|
20 |
user_input = st.text_input("Your prompt")
|
21 |
model_name = st.selectbox("Select", st.session_state.models, format_func=format_model)
|
22 |
-
from diffusers import DiffusionPipeline
|
23 |
|
24 |
if model_name and user_input and st.session_state.token:
|
25 |
model_name = model_name.modelId
|
|
|
19 |
st.session_state.token = st.text_input("Enter your API token", type="password")
|
20 |
user_input = st.text_input("Your prompt")
|
21 |
model_name = st.selectbox("Select", st.session_state.models, format_func=format_model)
|
|
|
22 |
|
23 |
if model_name and user_input and st.session_state.token:
|
24 |
model_name = model_name.modelId
|