Nymbo commited on
Commit
91cb807
·
verified ·
1 Parent(s): 7c75445

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -12
app.py CHANGED
@@ -8,10 +8,6 @@ import torch
8
  from my_run import run as run_model
9
 
10
 
11
- DESCRIPTION = """# Turbo Edit
12
- """
13
-
14
-
15
  @spaces.GPU
16
  def main_pipeline(
17
  input_image: str,
@@ -28,13 +24,8 @@ def main_pipeline(
28
  return res_image
29
 
30
 
31
- with gr.Blocks(css="app/style.css") as demo:
32
- gr.Markdown(DESCRIPTION)
33
-
34
- gr.HTML(
35
- """<a href="https://huggingface.co/spaces/turboedit/turbo_edit?duplicate=true">
36
- <img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space to run privately without waiting in queue"""
37
- )
38
 
39
  with gr.Row():
40
  with gr.Column():
@@ -120,4 +111,4 @@ with gr.Blocks(css="app/style.css") as demo:
120
  outputs = [result]
121
  run_button.click(fn=main_pipeline, inputs=inputs, outputs=outputs)
122
 
123
- demo.queue(max_size=50).launch(share=False)
 
8
  from my_run import run as run_model
9
 
10
 
 
 
 
 
11
  @spaces.GPU
12
  def main_pipeline(
13
  input_image: str,
 
24
  return res_image
25
 
26
 
27
+ with gr.Blocks(css="app/style.css", theme="Nymbo/Nymbo_Theme") as demo:
28
+ gr.HTML("<center><h1>Turbo Edit</h1></center>")
 
 
 
 
 
29
 
30
  with gr.Row():
31
  with gr.Column():
 
111
  outputs = [result]
112
  run_button.click(fn=main_pipeline, inputs=inputs, outputs=outputs)
113
 
114
+ demo.queue(max_size=50).launch(share=False)