Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,6 @@ with gr.Blocks() as demo:
|
|
129 |
prefix = gr.Textbox(label="Prefix tokens", placeholder="Tokens that are required to be present in the prompt, e.g. `rick and morty style`")
|
130 |
update = gr.Checkbox(label="Update the space if it already exists?")
|
131 |
|
132 |
-
# text explainig the difference between simple and advanced types: simple runs on GPU using HF inference API, advanced runs on CPU by default with the option to upgrade to GPU:
|
133 |
gr.Markdown("""#### Choose space type
|
134 |
- **Simple** - Runs on GPU using Hugging Face inference API, but you cannot control image generation parameters.
|
135 |
- **Advanced** - Runs on CPU by default, with the option to upgrade to GPU. You can control image generation parameters: guidance, number of steps, image size, etc. Also supports **image-to-image** generation.""")
|
|
|
129 |
prefix = gr.Textbox(label="Prefix tokens", placeholder="Tokens that are required to be present in the prompt, e.g. `rick and morty style`")
|
130 |
update = gr.Checkbox(label="Update the space if it already exists?")
|
131 |
|
|
|
132 |
gr.Markdown("""#### Choose space type
|
133 |
- **Simple** - Runs on GPU using Hugging Face inference API, but you cannot control image generation parameters.
|
134 |
- **Advanced** - Runs on CPU by default, with the option to upgrade to GPU. You can control image generation parameters: guidance, number of steps, image size, etc. Also supports **image-to-image** generation.""")
|