Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,11 +9,10 @@ def get_output(prompt):
|
|
9 |
|
10 |
demo = gr.Interface(
|
11 |
fn=get_output,
|
12 |
-
inputs="text",
|
13 |
outputs="text",
|
14 |
title="LLaMA Gradio App",
|
15 |
-
description="Click the button to get the output"
|
16 |
-
button="Get Output"
|
17 |
)
|
18 |
|
19 |
demo.launch()
|
|
|
9 |
|
10 |
demo = gr.Interface(
|
11 |
fn=get_output,
|
12 |
+
inputs=["text", "button"],
|
13 |
outputs="text",
|
14 |
title="LLaMA Gradio App",
|
15 |
+
description="Click the button to get the output"
|
|
|
16 |
)
|
17 |
|
18 |
demo.launch()
|