Falah commited on
Commit
c7a4c8e
1 Parent(s): e5e2c15

Add application file

Browse files
Files changed (3) hide show
  1. app.py +9 -1
  2. git-command.txt +3 -0
  3. index.html +7 -3
app.py CHANGED
@@ -22,6 +22,14 @@ iface = gr.Interface(
22
  title="Beautiful Female AI Generator Prompts",
23
  description="Generates a random text prompt for a female AI voice.",
24
  allow_flagging=False,
25
- theme="compact")
 
 
 
 
 
 
 
 
26
 
27
  iface.launch()
 
22
  title="Beautiful Female AI Generator Prompts",
23
  description="Generates a random text prompt for a female AI voice.",
24
  allow_flagging=False,
25
+ theme="compact",
26
+ examples=[
27
+ ["Generate"],
28
+ ["Generate"],
29
+ ["Generate"]
30
+ ],
31
+ # Add image to the interface
32
+ image="https://iraqprogrammer.files.wordpress.com/2023/03/00045-3227812873.png?w=1400&h="
33
+ )
34
 
35
  iface.launch()
git-command.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ git add *
2
+ git commit -m "Add application file"
3
+ git push
index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!doctype html>
2
  <html>
3
  <head>
4
  <title>Random Command Generator</title>
@@ -14,8 +14,12 @@
14
  </head>
15
  <body>
16
  <div class="container mt-5">
17
- <h1 class="text-center mb-4">Generated A beautiful Female AI Generator Prompts</h1>
18
- <div id="gradio"></div>
 
 
 
 
19
  </div>
20
  <script src="https://cdn.jsdelivr.net/npm/@gradio/[email protected]/dist/gradio.min.js"></script>
21
  <script>
 
1
+ <!DOCTYPE html>
2
  <html>
3
  <head>
4
  <title>Random Command Generator</title>
 
14
  </head>
15
  <body>
16
  <div class="container mt-5">
17
+ <div class="row justify-content-center align-items-center">
18
+ <div class="col-12 col-md-8 col-lg-6">
19
+ <img src="{{image}}" class="img-fluid mb-3">
20
+ <div id="gradio"></div>
21
+ </div>
22
+ </div>
23
  </div>
24
  <script src="https://cdn.jsdelivr.net/npm/@gradio/[email protected]/dist/gradio.min.js"></script>
25
  <script>