aedupuga commited on
Commit
73972ab
·
verified ·
1 Parent(s): 8293c77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -9
app.py CHANGED
@@ -521,7 +521,7 @@ agent = smolagents.CodeAgent(
521
  # --- Page config ---
522
  st.set_page_config(page_title="TechSpark AI Assistant", layout="wide")
523
 
524
- #import gradio as gr
525
 
526
  # Minimal Gradio chat for TechSpark Agent
527
  with gr.Blocks(
@@ -535,17 +535,14 @@ with gr.Blocks(
535
  # 🤖 TechSpark AI Assistant
536
  Welcome to the TechSpark AI Assistant!
537
 
538
- Ask anything about **TechSpark staff, tools, courses**, or machine usage.
539
- The agent is powered by **smolagents** and uses the internal knowledge of our facility to give you fast, relevant answers.
540
-
541
- 💡 Example questions you can try:
542
- - "Who is Ed?"
543
- - "Who should I talk to for building a wooden table?"
544
- - "How do I access the laser cutter?"
545
- """
546
  )
547
 
548
  # --- Chat interface ---
 
 
 
549
  chat = gr.Chatbot(label="TechSpark Assistant", height=450)
550
  inp = gr.Textbox(
551
  placeholder="Type your question here...",
 
521
  # --- Page config ---
522
  st.set_page_config(page_title="TechSpark AI Assistant", layout="wide")
523
 
524
+ import gradio as gr
525
 
526
  # Minimal Gradio chat for TechSpark Agent
527
  with gr.Blocks(
 
535
  # 🤖 TechSpark AI Assistant
536
  Welcome to the TechSpark AI Assistant!
537
 
538
+ Ask anything about **TechSpark staff, tools, courses or location of tools**
539
+ This assistant is powered by **OpenAI's GPT model** via `smolagents`, accessing accurate information from our curated dataset verified by techspark staff! """
 
 
 
 
 
 
540
  )
541
 
542
  # --- Chat interface ---
543
+
544
+
545
+
546
  chat = gr.Chatbot(label="TechSpark Assistant", height=450)
547
  inp = gr.Textbox(
548
  placeholder="Type your question here...",