Spaces:
mikitona
/
Running on Zero

mikitona commited on
Commit
6a7cbe5
·
verified ·
1 Parent(s): b362322

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -436,7 +436,7 @@ with gr.Blocks() as interface:
436
  prompt_hint = gr.HTML("You can use a <a href='https://huggingface.co/spaces/MaziyarPanahi/llava-llama-3-8b'>LlaVa space</a> to auto-generate the description of your image.")
437
  upscale = gr.Radio([["x1", 1], ["x2", 2], ["x3", 3], ["x4", 4], ["x5", 5], ["x6", 6], ["x7", 7], ["x8", 8], ["x9", 9], ["x10", 10]], label="Upscale factor", info="Resolution x1 to x10", value=2, interactive=True)
438
  output_format = gr.Radio([["As input", "input"], ["*.png", "png"], ["*.webp", "webp"], ["*.jpeg", "jpeg"], ["*.gif", "gif"], ["*.bmp", "bmp"]], label="Image format for result", info="File extension", value="input", interactive=True)
439
- allocation = gr.Radio([["1 min", 1], ["2 min", 2], ["3 min", 3], ["4 min", 4], ["5 min", 5]], label="GPU allocation time", info="lower=May abort run, higher=Quota penalty for next runs", value=3, interactive=True)
440
 
441
  with gr.Accordion("Pre-denoising (optional)", open=False):
442
  gamma_correction = gr.Slider(label="Gamma Correction", info="lower=lighter, higher=darker", minimum=0.1, maximum=2.0, value=1.0, step=0.1)
 
436
  prompt_hint = gr.HTML("You can use a <a href='https://huggingface.co/spaces/MaziyarPanahi/llava-llama-3-8b'>LlaVa space</a> to auto-generate the description of your image.")
437
  upscale = gr.Radio([["x1", 1], ["x2", 2], ["x3", 3], ["x4", 4], ["x5", 5], ["x6", 6], ["x7", 7], ["x8", 8], ["x9", 9], ["x10", 10]], label="Upscale factor", info="Resolution x1 to x10", value=2, interactive=True)
438
  output_format = gr.Radio([["As input", "input"], ["*.png", "png"], ["*.webp", "webp"], ["*.jpeg", "jpeg"], ["*.gif", "gif"], ["*.bmp", "bmp"]], label="Image format for result", info="File extension", value="input", interactive=True)
439
+ allocation = gr.Radio([["1 min", 1], ["2 min", 2], ["3 min", 3], ["4 min", 4], ["5 min", 5]], label="GPU allocation time", info="lower=May abort run, higher=Quota penalty for next runs", value=1, interactive=True)
440
 
441
  with gr.Accordion("Pre-denoising (optional)", open=False):
442
  gamma_correction = gr.Slider(label="Gamma Correction", info="lower=lighter, higher=darker", minimum=0.1, maximum=2.0, value=1.0, step=0.1)