faisalmieaust commited on
Commit
c545fe9
·
verified ·
1 Parent(s): 8633c03

Create app.py

Browse files

streamlit file created

Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import openai
3
+ from agentpro import create_model, ReactAgent
4
+ from agentpro.tools import AresInternetTool, UserInputTool, CalculateTool , SignalGeneratorAgent, SignalAnalyzerAgent, SignalDiagnosticAgent, ReportAgent # Adjust import path
5
+
6
+ # Set your API keys here or use Streamlit secrets
7
+ openai.api_key = st.secrets["OPENAI_API_KEY"]
8
+ ares_key = st.secrets["ARES_KEY"]
9
+
10
+ st.set_page_config(page_title="Demo Assistant", layout="wide")
11
+ st.title("🔍 Demo AI Agent")
12
+ st.header("Demo Agent")