mlnotes commited on
Commit
3b7812e
·
1 Parent(s): ce8434a

revert fixes.

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -30,8 +30,8 @@ examples = [
30
  ]
31
 
32
  ape_gen = gr.Interface.load("spaces/ykilcher/apes")
33
- # super_resolution = gr.Interface.load("spaces/akhaliq/SwinIR")
34
- super_resolution = super_resolution_inference
35
  style_transfer = gr.Interface.load("spaces/aravinds1811/neural-style-transfer")
36
 
37
  def generate_ape(num_images=1, interpolate=False):
@@ -48,7 +48,7 @@ with gr.Blocks() as demo:
48
  button_generate_ape = gr.Button("Generate Ape")
49
 
50
  generated_ape = gr.Image(example_generated_ape, label="Generated Ape", type="filepath")
51
- style_image_input = gr.Image(example_style_starry_night, label="Stylish Image", type="filepath")
52
  style_in_super_resolution = gr.Checkbox(True, label="Super resolution!")
53
  stylish_ape = gr.Image(example_stylish_ape, label="Stylish Ape")
54
 
@@ -66,5 +66,5 @@ with gr.Blocks() as demo:
66
 
67
  button_generate_ape.click(generate_ape, inputs=[], outputs=generated_ape)
68
 
69
- demo.launch(enable_queue=False)
70
  # %%
 
30
  ]
31
 
32
  ape_gen = gr.Interface.load("spaces/ykilcher/apes")
33
+ super_resolution = gr.Interface.load("spaces/akhaliq/SwinIR")
34
+ # super_resolution = super_resolution_inference
35
  style_transfer = gr.Interface.load("spaces/aravinds1811/neural-style-transfer")
36
 
37
  def generate_ape(num_images=1, interpolate=False):
 
48
  button_generate_ape = gr.Button("Generate Ape")
49
 
50
  generated_ape = gr.Image(example_generated_ape, label="Generated Ape", type="filepath")
51
+ style_image_input = gr.Image(example_style_starry_night, label="Stylish Image")
52
  style_in_super_resolution = gr.Checkbox(True, label="Super resolution!")
53
  stylish_ape = gr.Image(example_stylish_ape, label="Stylish Ape")
54
 
 
66
 
67
  button_generate_ape.click(generate_ape, inputs=[], outputs=generated_ape)
68
 
69
+ demo.launch(enable_queue=False, share=True, debug=True)
70
  # %%