sureshnam9 commited on
Commit
162f87e
·
verified ·
1 Parent(s): 4be9993

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ def text_gen(prompt, url):
16
  demo = gr.Interface(
17
  fn=text_gen,
18
  inputs=[
19
- gr.inputs.Textbox(label="Prompt", default="Why is the sky purple?"),
20
- gr.inputs.Textbox(label="URL", default="http://198.175.88.52:8080/generate")
21
  ],
22
  outputs=gr.outputs.Textbox(label="Response"),
23
  title="Text Generation",
 
16
  demo = gr.Interface(
17
  fn=text_gen,
18
  inputs=[
19
+ gr.Textbox(label="Prompt", default="Why is the sky purple?"),
20
+ gr.Textbox(label="URL", default="http://198.175.88.52:8080/generate")
21
  ],
22
  outputs=gr.outputs.Textbox(label="Response"),
23
  title="Text Generation",