nateraw commited on
Commit
a3e0416
1 Parent(s): a820a56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
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()