Spaces:
Runtime error
Runtime error
Commit
·
22377ec
1
Parent(s):
5d66590
Adding image search
Browse files- app.py +0 -7
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -3,13 +3,6 @@ import gradio as gr
|
|
| 3 |
description = "Text to image demo 🦀"
|
| 4 |
title = "BigGAN ImageNet"
|
| 5 |
|
| 6 |
-
def greet(name):
|
| 7 |
-
return "Hello there " + name + "!!"
|
| 8 |
-
|
| 9 |
-
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 10 |
-
iface.launch()
|
| 11 |
-
|
| 12 |
-
|
| 13 |
interface = gr.Interface.load("huggingface/osanseviero/BigGAN-deep-128",
|
| 14 |
description=description,
|
| 15 |
title = title,
|
|
|
|
| 3 |
description = "Text to image demo 🦀"
|
| 4 |
title = "BigGAN ImageNet"
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
interface = gr.Interface.load("huggingface/osanseviero/BigGAN-deep-128",
|
| 7 |
description=description,
|
| 8 |
title = title,
|
requirements.txt
CHANGED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
transformers
|