Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.")
|