Spaces:
Build error
Build error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -74,8 +74,10 @@ with gr.Blocks() as demo:
|
|
| 74 |
gr.Label("ToDo: Token Downsampling for Efficient Generation of High-Resolution Images")
|
| 75 |
prompt = gr.Textbox(interactive=True, label="prompt")
|
| 76 |
negative_prompt = gr.Textbox(interactive=True, label="negative_prompt")
|
| 77 |
-
|
| 78 |
-
|
|
|
|
|
|
|
| 79 |
|
| 80 |
with gr.Row():
|
| 81 |
guidance_scale = gr.Number(label="guidance_scale", value=7.5, precision=1)
|
|
|
|
| 74 |
gr.Label("ToDo: Token Downsampling for Efficient Generation of High-Resolution Images")
|
| 75 |
prompt = gr.Textbox(interactive=True, label="prompt")
|
| 76 |
negative_prompt = gr.Textbox(interactive=True, label="negative_prompt")
|
| 77 |
+
|
| 78 |
+
with gr.Row():
|
| 79 |
+
method = gr.Dropdown(["todo", "tome"], value="todo", label="method", info="Choose Your Desired Method (Default: todo)")
|
| 80 |
+
height_width = gr.Dropdown([1024, 1536, 2048], value=1024, label="height/width", info="Choose Your Desired Height/Width (Default: 1024)")
|
| 81 |
|
| 82 |
with gr.Row():
|
| 83 |
guidance_scale = gr.Number(label="guidance_scale", value=7.5, precision=1)
|