Fixed type in app
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def generate(prompt_to_enhance: str,
|
|
58 |
|
59 |
if choice in gated_models and access_token == '':
|
60 |
raise gr.Error(f'Please enter your access token (in Additional inputs) if youre using one of the following \
|
61 |
-
models: {
|
62 |
|
63 |
global logged_in
|
64 |
if not logged_in and choice in gated_models:
|
|
|
58 |
|
59 |
if choice in gated_models and access_token == '':
|
60 |
raise gr.Error(f'Please enter your access token (in Additional inputs) if youre using one of the following \
|
61 |
+
models: {", ".join(gated_models)}. Make sure you have access to those models.')
|
62 |
|
63 |
global logged_in
|
64 |
if not logged_in and choice in gated_models:
|