Update app.py
Browse files
app.py
CHANGED
@@ -2,14 +2,10 @@ import gradio
|
|
2 |
|
3 |
description = "Natural language generation with GPT-2"
|
4 |
title = "Give GPT-2 a prompt and it will take it from there..."
|
5 |
-
examples = [["What does sand between your toes feel like?"]]
|
6 |
-
model_path = "huggingface/CodeBERTa-small-v1"
|
7 |
-
tokenizer_path = "huggingface/CodeBERTa-small-v1"
|
8 |
model_path = "huggingface/pranavpsv/gpt2-genre-story-generator"
|
9 |
|
10 |
interface = gradio.Interface.load(
|
11 |
model_path,
|
12 |
-
description=description
|
13 |
-
examples=examples,
|
14 |
)
|
15 |
interface.launch()
|
|
|
2 |
|
3 |
description = "Natural language generation with GPT-2"
|
4 |
title = "Give GPT-2 a prompt and it will take it from there..."
|
|
|
|
|
|
|
5 |
model_path = "huggingface/pranavpsv/gpt2-genre-story-generator"
|
6 |
|
7 |
interface = gradio.Interface.load(
|
8 |
model_path,
|
9 |
+
description=description
|
|
|
10 |
)
|
11 |
interface.launch()
|