Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -159,7 +159,7 @@ def main():
|
|
159 |
query_interface = gr.Interface(
|
160 |
fn=process_and_query,
|
161 |
inputs=[gr.State(), gr.Textbox(label="Enter your query")],
|
162 |
-
outputs=gr.Textbox(label="Query Response")
|
163 |
)
|
164 |
|
165 |
with gr.Blocks() as demo:
|
@@ -172,3 +172,4 @@ def main():
|
|
172 |
|
173 |
if __name__ == "__main__":
|
174 |
main()
|
|
|
|
159 |
query_interface = gr.Interface(
|
160 |
fn=process_and_query,
|
161 |
inputs=[gr.State(), gr.Textbox(label="Enter your query")],
|
162 |
+
outputs=[gr.Textbox(label="Query Response"), gr.State()]
|
163 |
)
|
164 |
|
165 |
with gr.Blocks() as demo:
|
|
|
172 |
|
173 |
if __name__ == "__main__":
|
174 |
main()
|
175 |
+
|