Update app.py
Browse files
app.py
CHANGED
@@ -61,8 +61,9 @@ def generate_text_with_nucleus_search(input_text, max_length=16, do_sample=True,
|
|
61 |
input_text = gr.Textbox(lines=10, label="Input Text", placeholder="Enter text for text generation...")
|
62 |
output_text = gr.Textbox(label="Generated Text")
|
63 |
|
|
|
64 |
gr.Interface(generate_text, input_text, output_text,
|
65 |
title="Text Generation with GPT-2",
|
66 |
description="Generate text using the GPT-2 model.",
|
67 |
-
theme="
|
68 |
allow_flagging="never").launch(share=True)
|
|
|
61 |
input_text = gr.Textbox(lines=10, label="Input Text", placeholder="Enter text for text generation...")
|
62 |
output_text = gr.Textbox(label="Generated Text")
|
63 |
|
64 |
+
|
65 |
gr.Interface(generate_text, input_text, output_text,
|
66 |
title="Text Generation with GPT-2",
|
67 |
description="Generate text using the GPT-2 model.",
|
68 |
+
theme="default", # Change theme to default
|
69 |
allow_flagging="never").launch(share=True)
|