Jonny001 commited on
Commit
fe74bc0
1 Parent(s): 7ef98a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -10
app.py CHANGED
@@ -1,14 +1,8 @@
1
  import gradio as gr
2
 
3
- title = "Text To Image"
4
- theme = "NoCrypt/miku"
5
- description = "Sorry for the inconvenience. The model is currently running on the CPU, which might affect performance. We appreciate your understanding."
6
 
7
- text_imagen = gr.Interface.load("models/Purz/face-projection")
8
 
9
- text_imagen.launch(
10
- title=title,
11
- theme=theme,
12
- description=description,
13
- debug=True
14
- )
 
1
  import gradio as gr
2
 
3
+ theme="NoCrypt/miku"
4
+ dis="Sorry for the inconvenience. The model is currently running on the CPU, which might affect performance. We appreciate your understanding."
 
5
 
6
+ text_imagen = gr.Interface.load("models/Purz/face-projection")
7
 
8
+ gr.Series(text_imagen, theme=theme, dis=description).launch(debug=True)