Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,10 @@
|
|
|
|
|
|
1 |
from huggan.pytorch.pix2pix.modeling_pix2pix import GeneratorUNet
|
2 |
|
3 |
-
model = GeneratorUNet.from_pretrained('huggan/pix2pix-edge2shoes')
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
from huggan.pytorch.pix2pix.modeling_pix2pix import GeneratorUNet
|
4 |
|
5 |
+
model = GeneratorUNet.from_pretrained('huggan/pix2pix-edge2shoes')
|
6 |
+
|
7 |
+
def dummy_fn(text):
|
8 |
+
return "Looks like the model is loaded!"
|
9 |
+
|
10 |
+
gr.Interface(dummy_fn, inputs='text', outputs='text').launch()
|