Spaces:
Sleeping
Sleeping
pwilczewski
commited on
Commit
·
30d6ff7
1
Parent(s):
4e6c0ce
just display content
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ graph = workflow.compile()
|
|
149 |
def gradio_interface(input_text):
|
150 |
# input_data = {"messages": [HumanMessage(content="Run the analysis")]}
|
151 |
resp = graph.invoke({"messages": [HumanMessage(content="Run the analysis")]}) # debug=True
|
152 |
-
return resp['messages'][-1]
|
153 |
|
154 |
dropdown = gr.Dropdown(
|
155 |
choices=["Option 1", "Option 2", "Option 3"],
|
|
|
149 |
def gradio_interface(input_text):
|
150 |
# input_data = {"messages": [HumanMessage(content="Run the analysis")]}
|
151 |
resp = graph.invoke({"messages": [HumanMessage(content="Run the analysis")]}) # debug=True
|
152 |
+
return resp['messages'][-1].content
|
153 |
|
154 |
dropdown = gr.Dropdown(
|
155 |
choices=["Option 1", "Option 2", "Option 3"],
|