CindyDelage commited on
Commit
42e2957
·
verified ·
1 Parent(s): 4c01c25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ alfred = CodeAgent(
35
 
36
  demo=gr.Interface(
37
  fn=alfred,
38
- inputs=["text",gr.Textbox(placeholder="Hello ! I am Fruggy, I will help you frugalize your code!")]
39
- outputs=["text", gr.Image(Image.open("Frugal.jpeg"))]
40
  title="Frugalize it!",
41
  examples=["What are you capable of ?", "Here is my code, {code}, please give me frugal alternatives"],
42
  description="Share your Python code with this AI agent! It will track its CO2 emissions using CodeCarbon and recommend greener, frugal AI alternatives.")
 
35
 
36
  demo=gr.Interface(
37
  fn=alfred,
38
+ inputs=["text",gr.Textbox(placeholder="Hello ! I am Fruggy, I will help you frugalize your code!")],
39
+ outputs=["text", gr.Image(Image.open("Frugal.jpeg"))],
40
  title="Frugalize it!",
41
  examples=["What are you capable of ?", "Here is my code, {code}, please give me frugal alternatives"],
42
  description="Share your Python code with this AI agent! It will track its CO2 emissions using CodeCarbon and recommend greener, frugal AI alternatives.")