Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,14 +1,3 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
|
| 4 |
-
model = gradio.Interface.load(model_name)
|
| 5 |
-
|
| 6 |
-
input_description = "Enter prompt"
|
| 7 |
-
output_description = "Image"
|
| 8 |
-
title = "Midjourney"
|
| 9 |
-
|
| 10 |
-
model.interface.inputs[0].label = input_description
|
| 11 |
-
model.interface.outputs[0].label = output_description
|
| 12 |
-
model.interface.title = title
|
| 13 |
-
|
| 14 |
-
model.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
gr.Interface.load("models/nitrosocke/mo-di-diffusion").launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|