Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,8 @@ from tools.tools import load_tools
|
|
14 |
from agents.model import load_huggingface_model
|
15 |
from agents.prompts import load_prompts
|
16 |
|
17 |
-
from
|
|
|
18 |
|
19 |
# Prechecks
|
20 |
|
@@ -61,12 +62,6 @@ else:
|
|
61 |
|
62 |
# Launch the UI earlier or without passing through the Agent
|
63 |
#GradioUI(agent).launch()
|
|
|
|
|
64 |
|
65 |
-
|
66 |
-
import gradio as gr
|
67 |
-
|
68 |
-
def example_function(input_text):
|
69 |
-
return "Processed: " + input_text
|
70 |
-
|
71 |
-
interface = gr.Interface(fn=example_function, inputs="text", outputs="text")
|
72 |
-
interface.launch()
|
|
|
14 |
from agents.model import load_huggingface_model
|
15 |
from agents.prompts import load_prompts
|
16 |
|
17 |
+
from ContentGradio_UI import ContentAgentUI
|
18 |
+
#from Gradio_UI import GradioUI
|
19 |
|
20 |
# Prechecks
|
21 |
|
|
|
62 |
|
63 |
# Launch the UI earlier or without passing through the Agent
|
64 |
#GradioUI(agent).launch()
|
65 |
+
# Build the Content Agent GUI
|
66 |
+
ContentAgentUI()
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|