Spaces:
Runtime error
Runtime error
ChaoChao2023
commited on
Commit
•
8be36f4
1
Parent(s):
b8de1aa
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
examples = [["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]]
|
6 |
-
|
7 |
-
interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator",
|
8 |
description=description,
|
9 |
-
|
|
|
10 |
)
|
11 |
-
|
12 |
interface.launch()
|
|
|
|
1 |
import gradio as gr
|
2 |
+
description = "BigGAN text-to-image demo."
|
3 |
+
title = "BigGAN ImageNet"
|
4 |
+
interface = gr.Interface.load("huggingface/osanseviero/BigGAN-deep-128",
|
|
|
|
|
|
|
5 |
description=description,
|
6 |
+
title = title,
|
7 |
+
examples=[["american robin"]]
|
8 |
)
|
|
|
9 |
interface.launch()
|
10 |
+
|