Update app.py
Browse files
app.py
CHANGED
@@ -21,11 +21,10 @@ def generate_solutions(query):
|
|
21 |
# Create a Gradio interface
|
22 |
iface = gr.Interface(
|
23 |
fn=generate_solutions,
|
24 |
-
inputs=gr.
|
25 |
-
outputs=
|
26 |
-
title="Industry Maintenance Assistant",
|
27 |
description="Describe the problem with your machine, and get an organized table of suggested solutions with web links."
|
28 |
)
|
29 |
|
30 |
iface.launch()
|
31 |
-
|
|
|
21 |
# Create a Gradio interface
|
22 |
iface = gr.Interface(
|
23 |
fn=generate_solutions,
|
24 |
+
inputs=gr.Textbox(lines=2, placeholder="Describe the problem with the machine..."),
|
25 |
+
outputs=gr.HTML(),
|
26 |
+
title="Oroz: Your Industry Maintenance Assistant",
|
27 |
description="Describe the problem with your machine, and get an organized table of suggested solutions with web links."
|
28 |
)
|
29 |
|
30 |
iface.launch()
|
|