Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
title = "Exemplo de Texto para Imagem"
|
4 |
-
subtitle = "Usando o modelo CloudQi CQI Text to Image PT v0"
|
5 |
|
6 |
-
print(title)
|
7 |
-
print(subtitle)
|
8 |
|
9 |
-
gr.Interface.load("models/cloudqi/cqi_text_to_image_pt_v0")
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
|
|
|
|
3 |
|
|
|
|
|
4 |
|
5 |
+
iface = gr.Interface.load("models/cloudqi/cqi_text_to_image_pt_v0")
|
6 |
+
iface.title = "Test"
|
7 |
+
iface.launch()
|