Spaces:
Build error
Build error
Commit
•
9d91d56
1
Parent(s):
447d3c7
Update app.py
Browse files
app.py
CHANGED
@@ -384,4 +384,15 @@ with blocks:
|
|
384 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.00946' target='_blank'>StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators</a> | <a href='https://stylegan-nada.github.io/' target='_blank'>Project Page</a> | <a href='https://github.com/rinongal/StyleGAN-nada' target='_blank'>Code</a></p> <center><img src='https://visitor-badge.glitch.me/badge?page_id=rinong_sgnada' alt='visitor badge'></center>"
|
385 |
gr.Markdown(article)
|
386 |
|
387 |
-
blocks.launch(enable_queue=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.00946' target='_blank'>StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators</a> | <a href='https://stylegan-nada.github.io/' target='_blank'>Project Page</a> | <a href='https://github.com/rinongal/StyleGAN-nada' target='_blank'>Code</a></p> <center><img src='https://visitor-badge.glitch.me/badge?page_id=rinong_sgnada' alt='visitor badge'></center>"
|
385 |
gr.Markdown(article)
|
386 |
|
387 |
+
#blocks.launch(enable_queue=True)
|
388 |
+
|
389 |
+
|
390 |
+
def my_inference_function(name):
|
391 |
+
return "Hello " + name + "!"
|
392 |
+
|
393 |
+
gradio_interface = gr.Interface(
|
394 |
+
fn = my_inference_function,
|
395 |
+
inputs = "text",
|
396 |
+
outputs = "text"
|
397 |
+
)
|
398 |
+
gradio_interface.launch()
|