Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ def getbabyagianswer(objective,loop_count,openapikey):
|
|
134 |
with gr.Blocks() as demo:
|
135 |
gr.Markdown("<h1><center>GPT4 created BabyAGI</center></h1>")
|
136 |
gr.Markdown(
|
137 |
-
""" This is part of a series of experiments using BabyAGI as a "framework" to construct focused use cases (ex: idea generation). In this GPT-4 was prompted to create a BabyAGI with task creation & execution agents but with constraints to give answer with a specified number of loops. Unlike the original BabyAGI concept, this is not open-ended. \n\nNote: This is a series of experiments to understand AI agents and hence do check the quality of output. OpenAI agents (gpt-3.5-turbo) & DuckDuckGo search are used. The analysis takes roughly 120 secs & may not always be consistent. An error occurs when the OpenAI Api key is not provided/ ChatGPT API is overloaded/ ChatGPT is unable to correctly decipher & format the output\n\n
|
138 |
)
|
139 |
|
140 |
with gr.Row() as row:
|
|
|
134 |
with gr.Blocks() as demo:
|
135 |
gr.Markdown("<h1><center>GPT4 created BabyAGI</center></h1>")
|
136 |
gr.Markdown(
|
137 |
+
""" This is part of a series of experiments using BabyAGI as a "framework" to construct focused use cases (ex: idea generation). In this GPT-4 was prompted to create a BabyAGI with task creation & execution agents but with constraints to give answer with a specified number of loops. Unlike the original BabyAGI concept, this is not open-ended. \n\nNote: This is a series of experiments to understand AI agents and hence do check the quality of output. OpenAI agents (gpt-3.5-turbo) & DuckDuckGo search are used. The analysis takes roughly 120 secs & may not always be consistent. An error occurs when the OpenAI Api key is not provided/ ChatGPT API is overloaded/ ChatGPT is unable to correctly decipher & format the output\n\n"""
|
138 |
)
|
139 |
|
140 |
with gr.Row() as row:
|