Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,14 @@
|
|
| 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 =
|
| 8 |
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
)
|