EmadSalem commited on
Commit
1134a42
1 Parent(s): c49aa88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +38 -1
app.py CHANGED
@@ -18,7 +18,44 @@ title = "Speech to ChatGPT to Speech"
18
 
19
 
20
 
21
- title="ERNIE-ViLG"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
  description="ERNIE-ViLG model, which supports text-to-image task."
24
 
 
18
 
19
 
20
 
21
+ title="بسم الله الرحمن الرحيم"
22
+ with block:
23
+ gr.HTML(
24
+ """
25
+ <div style="text-align: center; max-width: 650px; margin: 0 auto;">
26
+ <div
27
+ style="
28
+ display: inline-flex;
29
+ gap: 0.8rem;
30
+ font-size: 1.75rem;
31
+ margin-bottom: 10px;
32
+ margin-left: 220px;
33
+ justify-content: center;
34
+ "
35
+ >
36
+ <a href="https://github.com/PaddlePaddle/PaddleHub"><img src="https://user-images.githubusercontent.com/22424850/187387422-f6c9ccab-7fda-416e-a24d-7d6084c46f67.jpg" alt="Paddlehub" width="40%"></a>
37
+ </div>
38
+ <div
39
+ style="
40
+ display: inline-flex;
41
+ align-items: center;
42
+ gap: 0.8rem;
43
+ font-size: 1.75rem;
44
+ margin-bottom: 10px;
45
+ justify-content: center;
46
+ ">
47
+ <a href="https://github.com/PaddlePaddle/PaddleHub"><h1 style="font-weight: 900; margin-bottom: 7px;">
48
+ ERNIE-ViLG Demo
49
+ </h1></a>
50
+ </div>
51
+ <p style="margin-bottom: 10px; font-size: 94%">
52
+ ERNIE-ViLG 2.0 is a state-of-the-art text-to-image model that generates
53
+ images from Chinese text.
54
+ </p>
55
+ <a href="https://github.com/PaddlePaddle/PaddleHub"><img src="https://user-images.githubusercontent.com/22424850/188184795-98605a22-9af2-4106-827b-e58548f8892f.png" alt="star Paddlehub" width="100%"></a>
56
+ </div>
57
+ """
58
+ )
59
 
60
  description="ERNIE-ViLG model, which supports text-to-image task."
61