Spaces:
Running
Running
Update app.py
Browse filesadd exception for gated models
app.py
CHANGED
@@ -249,7 +249,8 @@ with tab1:
|
|
249 |
else:
|
250 |
st.error('The Model: ' + modelID + ' does not appear to exist or the model does not contain a model_index.json file.'
|
251 |
' Please check that that HuggingFace repo ID is valid.'
|
252 |
-
'
|
|
|
253 |
if modelID:
|
254 |
with st.form("example_image_gen_form", clear_on_submit=True):
|
255 |
testPrompt = st.text_input('Input a random test prompt to test out your '
|
|
|
249 |
else:
|
250 |
st.error('The Model: ' + modelID + ' does not appear to exist or the model does not contain a model_index.json file.'
|
251 |
' Please check that that HuggingFace repo ID is valid.'
|
252 |
+
'This error will also occur when trying to access Gated models.'
|
253 |
+
' For more help/info, please see "How to Use" Tab above.', icon="π¨")
|
254 |
if modelID:
|
255 |
with st.form("example_image_gen_form", clear_on_submit=True):
|
256 |
testPrompt = st.text_input('Input a random test prompt to test out your '
|