Greff3 commited on
Commit
c33ca07
1 Parent(s): ae1f8f9

Update src/app.py

Browse files
Files changed (1) hide show
  1. src/app.py +4 -27
src/app.py CHANGED
@@ -18,32 +18,9 @@ pillow_heif.register_avif_opener()
18
  TITLE = """
19
  <center>
20
 
21
- <div style="
22
- background-color: #ff9100;
23
- color: #1f2937;
24
- padding: 0.5rem 1rem;
25
- font-size: 1.25rem;
26
- ">
27
- 🚀 NEW: all the Finegrain spaces are now reunited under the
28
- <a href="https://editor.finegrain.ai/signup?utm_source=hf&utm_campaign=image-enhancer" target="_blank">Finegrain Editor</a>. Give it a shot! 🚀
29
- </div>
30
-
31
- <h1 style="font-size: 1.5rem; margin-bottom: 0.5rem;">
32
- Image Enhancer Powered By Refiners
33
- </h1>
34
-
35
- <p>
36
- Turn low resolution images into high resolution versions with added generated details (your image will be modified).
37
- </p>
38
-
39
- <p>
40
- This space is powered by Refiners, our open source micro-framework for simple foundation model adaptation.
41
- If you enjoyed it, please consider starring Refiners on GitHub!
42
- </p>
43
-
44
- <a href="https://github.com/finegrain-ai/refiners" target="_blank">
45
- <img src="https://img.shields.io/github/stars/finegrain-ai/refiners?style=social" />
46
- </a>
47
 
48
  </center>
49
  """
@@ -164,7 +141,7 @@ with gr.Blocks() as demo:
164
  with gr.Row():
165
  with gr.Column():
166
  input_image = gr.Image(type="pil", label="Input Image")
167
- run_button = gr.ClearButton(components=None, value="Enhance Image")
168
  with gr.Column():
169
  output_slider = ImageSlider(label="Before / After")
170
  run_button.add(output_slider)
 
18
  TITLE = """
19
  <center>
20
 
21
+ <h2 style="font-size: 1.5rem; margin-bottom: 0.5rem;">
22
+ Улучшаем фото или картинку с помощью Искусственного Интеллекта
23
+ </h2>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
  </center>
26
  """
 
141
  with gr.Row():
142
  with gr.Column():
143
  input_image = gr.Image(type="pil", label="Input Image")
144
+ run_button = gr.ClearButton(components=None, value="Генерировать")
145
  with gr.Column():
146
  output_slider = ImageSlider(label="Before / After")
147
  run_button.add(output_slider)