InfiniteValueMe commited on
Commit
b770d79
·
verified ·
1 Parent(s): 2c3e494

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -78,9 +78,10 @@ def chat_with_infinite_agent(message, lang, history):
78
 
79
  return history, history
80
 
81
- with gr.Blocks(title="Infinite Agent", css="style.css") as demo:
82
- #Avatar image
83
- gr.Image("avatar.png", elem_id="agent-avatar") # No shape styling, just default
 
84
 
85
  #Header
86
  gr.Markdown(
 
78
 
79
  return history, history
80
 
81
+ css_path = os.path.join(os.path.dirname(__file__), "style.css")
82
+
83
+ with gr.Blocks(title="Infinite Agent", css=open(css_path).read()) as demo:
84
+ gr.Image("avatar.png", elem_id="agent-avatar")
85
 
86
  #Header
87
  gr.Markdown(