wetey commited on
Commit
f045f5a
·
1 Parent(s): 7649e82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -34,14 +34,13 @@ def generate_content(text):
34
  generation_config = generation_config)
35
 
36
  return tokenizer.decode(outputs[0], skip_special_tokens = True)
37
-
38
- textbox = gr.Textbox(label="Type your text here", lines=2)
39
 
40
  demo = gr.Blocks()
41
 
42
  with demo:
43
- text_input = gr.Textbox()
44
- text_output = gr.Textbox()
45
 
46
  b1 = gr.Button("Generate headline")
47
  b2 = gr.Button("Generate long content")
 
34
  generation_config = generation_config)
35
 
36
  return tokenizer.decode(outputs[0], skip_special_tokens = True)
37
+
 
38
 
39
  demo = gr.Blocks()
40
 
41
  with demo:
42
+ text_input = gr.Textbox(label = "Input")
43
+ text_output = gr.Textbox(label = "Output")
44
 
45
  b1 = gr.Button("Generate headline")
46
  b2 = gr.Button("Generate long content")