Jovynne commited on
Commit
435d8db
·
verified ·
1 Parent(s): a0ece05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -117,13 +117,13 @@ with gr.Blocks() as demo:
117
  with gr.Tab("🏗️ LlamaIndex (Workflow)"):
118
  gr.ChatInterface(
119
  fn=chat_llama,
120
- examples=["What's the weather in Tokyo?", "What time is it in Japan?"]
121
  )
122
 
123
  with gr.Tab("💻 smolagents (CodeAgent)"):
124
  gr.ChatInterface(
125
  fn=chat_smol,
126
- examples=["Search for the latest AI news", "How is the weather in Paris?"]
127
  )
128
 
129
  if __name__ == "__main__":
@@ -131,4 +131,5 @@ if __name__ == "__main__":
131
  demo.launch(
132
  theme=gr.themes.Soft(),
133
  css="#main-title { text-align: center; margin-bottom: 20px; }"
 
134
  )
 
117
  with gr.Tab("🏗️ LlamaIndex (Workflow)"):
118
  gr.ChatInterface(
119
  fn=chat_llama,
120
+ examples=["What is AI?", "What is the weather in Tokyo?", "What time is it in Japan?", "Translate hello to Franch", "Convert kg to g"]
121
  )
122
 
123
  with gr.Tab("💻 smolagents (CodeAgent)"):
124
  gr.ChatInterface(
125
  fn=chat_smol,
126
+ examples=["Search for the latest AI news", "How is the weather in Paris?", "What time is it in Korea?", "Translate hello to Japanese", "Convert kg to g"]
127
  )
128
 
129
  if __name__ == "__main__":
 
131
  demo.launch(
132
  theme=gr.themes.Soft(),
133
  css="#main-title { text-align: center; margin-bottom: 20px; }"
134
+ )
135
  )