bstraehle commited on
Commit
1daf5bf
1 Parent(s): 566077b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- import datetime, os, threading
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 = f"Today is {datetime.date.today()}. {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"])
 
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"])