CindyDelage commited on
Commit
c2e9d49
·
verified ·
1 Parent(s): 27b47c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -46,13 +46,13 @@ with gr.Blocks() as demo1:
46
  out = gr.Textbox()
47
  inp.change(welcome, inp, out)
48
 
49
- demo=[gr.Interface(
50
  fn=alfred,
51
  inputs="text",
52
- outputs="text",
53
  title="Frugalize it!",
54
  examples=["What are you capable of ?", "Here is my code, {code}, please give me frugal alternatives"],
55
- description="Share your Python code with this AI agent! It will track its CO2 emissions using CodeCarbon and recommend greener, frugal AI alternatives."), demo1]
56
 
57
  if __name__ == "__main__":
58
  demo.launch(mcp_server=True, share=True)
 
46
  out = gr.Textbox()
47
  inp.change(welcome, inp, out)
48
 
49
+ demo=gr.Interface(
50
  fn=alfred,
51
  inputs="text",
52
+ outputs=["text",demo1]
53
  title="Frugalize it!",
54
  examples=["What are you capable of ?", "Here is my code, {code}, please give me frugal alternatives"],
55
+ description="Share your Python code with this AI agent! It will track its CO2 emissions using CodeCarbon and recommend greener, frugal AI alternatives.")
56
 
57
  if __name__ == "__main__":
58
  demo.launch(mcp_server=True, share=True)