Update app.py
Browse filesEliminate examples temporarily to see if it will run.
app.py
CHANGED
|
@@ -67,22 +67,7 @@ theme = gr.themes.Default(primary_hue="green").set(
|
|
| 67 |
)
|
| 68 |
|
| 69 |
gr.Interface(fn = infer, inputs = ["text", "text", "image"], outputs = "image",
|
| 70 |
-
title = title, description = description,
|
| 71 |
-
|
| 72 |
-
gr.Examples(
|
| 73 |
-
examples=[
|
| 74 |
-
#["a tortoiseshell cat is sitting on a cushion"],
|
| 75 |
-
#["a yellow dog standing on a lawn"],
|
| 76 |
-
["a tortoiseshell cat is sitting on a cushion", "https://huggingface.co/JFoz/dog-cat-pose/blob/main/images_0.png"],
|
| 77 |
-
["a yellow dog standing on a lawn", "https://huggingface.co/JFoz/dog-cat-pose/blob/main/images_1.png"],
|
| 78 |
-
],
|
| 79 |
-
inputs=[
|
| 80 |
-
prompt, image
|
| 81 |
-
],
|
| 82 |
-
outputs=output,
|
| 83 |
-
fn=infer,
|
| 84 |
-
cache_examples=True,
|
| 85 |
-
)
|
| 86 |
|
| 87 |
|
| 88 |
gr.Markdown(
|
|
|
|
| 67 |
)
|
| 68 |
|
| 69 |
gr.Interface(fn = infer, inputs = ["text", "text", "image"], outputs = "image",
|
| 70 |
+
title = title, description = description, theme='gradio/soft').launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
|
| 73 |
gr.Markdown(
|