Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,9 +32,8 @@ def chatbot(input_text):
|
|
| 32 |
iface = gr.Interface(fn=chatbot,
|
| 33 |
inputs=gr.components.Textbox(lines=7, label="Enter your text"),
|
| 34 |
outputs="text",
|
| 35 |
-
show_api=False,
|
| 36 |
title="NoLev Astra Diagnosis Assistant")
|
| 37 |
|
| 38 |
|
| 39 |
index = construct_index("docs")
|
| 40 |
-
iface.launch(
|
|
|
|
| 32 |
iface = gr.Interface(fn=chatbot,
|
| 33 |
inputs=gr.components.Textbox(lines=7, label="Enter your text"),
|
| 34 |
outputs="text",
|
|
|
|
| 35 |
title="NoLev Astra Diagnosis Assistant")
|
| 36 |
|
| 37 |
|
| 38 |
index = construct_index("docs")
|
| 39 |
+
iface.launch(show_api=False)
|