Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
import
|
3 |
|
4 |
from multi_agent import run_multi_agent
|
5 |
|
@@ -26,7 +26,7 @@ gr.close_all()
|
|
26 |
|
27 |
demo = gr.Interface(fn = invoke,
|
28 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
29 |
-
gr.Textbox(label = "Task", value =
|
30 |
outputs = [gr.Markdown(label = "Output", value = os.environ["OUTPUT"], line_breaks = True, sanitize_html = False)],
|
31 |
title = "Multi-Agent AI: Coding",
|
32 |
description = os.environ["DESCRIPTION"])
|
|
|
1 |
import gradio as gr
|
2 |
+
import os, threading
|
3 |
|
4 |
from multi_agent import run_multi_agent
|
5 |
|
|
|
26 |
|
27 |
demo = gr.Interface(fn = invoke,
|
28 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
29 |
+
gr.Textbox(label = "Task", value = os.environ['INPUT']")],
|
30 |
outputs = [gr.Markdown(label = "Output", value = os.environ["OUTPUT"], line_breaks = True, sanitize_html = False)],
|
31 |
title = "Multi-Agent AI: Coding",
|
32 |
description = os.environ["DESCRIPTION"])
|