CindyDelage commited on
Commit
28a4907
·
verified ·
1 Parent(s): 1dd53eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -39,15 +39,15 @@ demo = gr.Blocks(theme=gr.themes.Default(primary_hue=gr.themes.colors.green, sec
39
  with gr.Blocks() as demo:
40
  with gr.Column(scale=1):
41
  image = gr.Image(value=Image.open("frugal.jpg"), label="Frugal Image")
42
- with gr.Row():
43
- hello = gr.Interface(
44
- fn=alfred,
45
- inputs="text",
46
- outputs="text",
47
- title="Frugalize it!",
48
- examples=["What are you capable of ?", "Here is my code, {code}, please give me frugal alternatives"],
49
- description="Share your Python code with this AI agent! It will track its CO2 emissions using CodeCarbon and recommend greener, frugal AI alternatives."
50
- )
51
 
52
  if __name__ == "__main__":
53
  demo.launch(mcp_server=True, share=True)
 
39
  with gr.Blocks() as demo:
40
  with gr.Column(scale=1):
41
  image = gr.Image(value=Image.open("frugal.jpg"), label="Frugal Image")
42
+ with gr.Row():
43
+ hello = gr.Interface(
44
+ fn=alfred,
45
+ inputs="text",
46
+ outputs="text",
47
+ title="Frugalize it!",
48
+ examples=["What are you capable of ?", "Here is my code, {code}, please give me frugal alternatives"],
49
+ description="Share your Python code with this AI agent! It will track its CO2 emissions using CodeCarbon and recommend greener, frugal AI alternatives."
50
+ )
51
 
52
  if __name__ == "__main__":
53
  demo.launch(mcp_server=True, share=True)