TotoB12 commited on
Commit
1f5aa86
·
verified ·
1 Parent(s): 42b391c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ def generate_text(prompt, stop_choice):
24
  iface = gr.Interface(
25
  fn=generate_text,
26
  inputs=[
27
- gr.inputs.Textbox(lines=4, placeholder="Enter your prompt here...", label="Prompt"),
28
- gr.inputs.Dropdown(choices=["Period", "Space"], label="Stop Token")
29
  ],
30
  outputs="text",
31
  title="DistilGPT2 Text Generation",
 
24
  iface = gr.Interface(
25
  fn=generate_text,
26
  inputs=[
27
+ gr.Textbox(lines=4, placeholder="Enter your prompt here...", label="Prompt"),
28
+ gr.Dropdown(choices=["Period", "Space"], label="Stop Token")
29
  ],
30
  outputs="text",
31
  title="DistilGPT2 Text Generation",