Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,5 +17,5 @@ def generate_text(input_text, temperature):
|
|
17 |
inputs = [gr.inputs.Textbox(lines=1, label="Input"),
|
18 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, step=0.1, default=0.7, label="Temperature")]
|
19 |
outputs = gr.outputs.Textbox()
|
20 |
-
interface = gr.Interface(generate_text, inputs, outputs, title="
|
21 |
interface.launch()
|
|
|
17 |
inputs = [gr.inputs.Textbox(lines=1, label="Input"),
|
18 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, step=0.1, default=0.7, label="Temperature")]
|
19 |
outputs = gr.outputs.Textbox()
|
20 |
+
interface = gr.Interface(generate_text, inputs, outputs, title="GPT-2 Text Generator")
|
21 |
interface.launch()
|