Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ def text_gen(prompt, url):
|
|
16 |
demo = gr.Interface(
|
17 |
fn=text_gen,
|
18 |
inputs=[
|
19 |
-
gr.
|
20 |
-
gr.
|
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",
|