NPG commited on
Commit
9ee5418
1 Parent(s): 1c37a37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="GPT2 Text Generator")
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()