Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,9 +21,15 @@ def generate_profile(file):
|
|
21 |
# Create a Gradio interface
|
22 |
iface = gr.Interface(
|
23 |
fn=generate_profile,
|
24 |
-
inputs=
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
26 |
)
|
27 |
|
28 |
-
# Launch the app
|
29 |
-
|
|
|
|
21 |
# Create a Gradio interface
|
22 |
iface = gr.Interface(
|
23 |
fn=generate_profile,
|
24 |
+
#inputs=["text", "text", "text"],
|
25 |
+
inputs = ["file"],
|
26 |
+
outputs=["text"],
|
27 |
+
title="Agentville: Explore CSV files using autonomous agents",
|
28 |
+
description="Generate insights in minutes on your own data",
|
29 |
+
article="This Gradio app uses the CAMEL framework to initiate conversations across multiple autonomous agents for task-solving.",
|
30 |
+
live=False,
|
31 |
)
|
32 |
|
33 |
+
# Launch the Gradio app
|
34 |
+
if __name__ == "__main__":
|
35 |
+
iface.queue(concurrency_count=5, max_size=20).launch(share=True,debug=True)
|