Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,9 +26,6 @@ def invoke(openai_api_key, serper_api_key, topic):
|
|
26 |
|
27 |
return get_crew().kickoff(inputs={"topic": topic})
|
28 |
|
29 |
-
description = """TODO <a href='https://www.gradio.app/'>Gradio</a> UI using the <a href='https://openai.com/'>OpenAI</a> SDK
|
30 |
-
with <a href='https://openai.com/research/gpt-4'>gpt-4</a> model."""
|
31 |
-
|
32 |
gr.close_all()
|
33 |
|
34 |
demo = gr.Interface(fn = invoke,
|
@@ -37,6 +34,6 @@ demo = gr.Interface(fn = invoke,
|
|
37 |
gr.Textbox(label = "Topic", value="Evolution of Retrieval-Augmented Generation from Naive RAG to Advanced RAG to Agentic RAG", lines = 1)],
|
38 |
outputs = [gr.Textbox(label = "Output", lines = 1)],
|
39 |
title = "Agentic RAG: LinkedIn Post Generation",
|
40 |
-
description =
|
41 |
|
42 |
demo.launch()
|
|
|
26 |
|
27 |
return get_crew().kickoff(inputs={"topic": topic})
|
28 |
|
|
|
|
|
|
|
29 |
gr.close_all()
|
30 |
|
31 |
demo = gr.Interface(fn = invoke,
|
|
|
34 |
gr.Textbox(label = "Topic", value="Evolution of Retrieval-Augmented Generation from Naive RAG to Advanced RAG to Agentic RAG", lines = 1)],
|
35 |
outputs = [gr.Textbox(label = "Output", lines = 1)],
|
36 |
title = "Agentic RAG: LinkedIn Post Generation",
|
37 |
+
description = os.environ["DESCRIPTION"])
|
38 |
|
39 |
demo.launch()
|