Quivering commited on
Commit
8237908
·
verified ·
1 Parent(s): 17ed9a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -34
app.py CHANGED
@@ -264,37 +264,4 @@ agent = CodeAgent(
264
  prompt_templates=prompt_templates
265
  )
266
 
267
- # Create a welcome message that describes the agent's capabilities
268
- welcome_message = """
269
- 👋 Welcome to the Multi-tool Assistant!
270
-
271
- I'm here to help you with various tasks:
272
-
273
- 🔍 Search: I can search the web for information
274
- 🎨 Image Generation: I can create images from text descriptions
275
- 🌍 Weather: I can check weather conditions in any city
276
- 🕒 Time Zones: I can tell you the current time anywhere in the world
277
- 💰 Cryptocurrency: I can:
278
- • Show top 10 cryptocurrencies
279
- • Get specific crypto prices
280
- • Provide detailed crypto information
281
- • Generate 24-hour market summaries
282
-
283
- Try these example commands:
284
- • "Generate an image of a sunset over mountains"
285
- • "What's the weather like in Tokyo?"
286
- • "Show me the crypto market summary"
287
- • "What time is it in New York?"
288
- • "Search for recent AI developments"
289
-
290
- How can I assist you today?
291
- """
292
-
293
- # Initialize the UI with the welcome message
294
- ui = GradioUI(agent)
295
-
296
- # Set the welcome message as the initial message
297
- ui.welcome_message = welcome_message
298
-
299
- # Launch the UI
300
- ui.launch()
 
264
  prompt_templates=prompt_templates
265
  )
266
 
267
+ GradioUI(agent).launch()