terryyz akhaliq HF Staff commited on
Commit
1568b04
ยท
verified ยท
1 Parent(s): 0eb0a9a

gradio chatbot example (#1)

Browse files

- gradio chatbot example (79b6279ac17742c50dcd524d86c13cf4fad13530)


Co-authored-by: AK <[email protected]>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1377,7 +1377,7 @@ def build_ui():
1377
  "Write a Python script to scrape NVIDIA's stock price for the past month using the yfinance library. Clean the data and create an interactive visualization using Matplotlib. Include: 1) A candlestick chart showing daily price movements 2) A line chart with 7-day and 30-day moving averages. Add hover tooltips showing exact values and date. Make the layout professional with proper titles and axis labels."
1378
  ],
1379
  [
1380
- "Write a Python script that uses the Gradio library to create a functional calculator. The calculator should support basic arithmetic operations: addition, subtraction, multiplication, and division. It should have two input fields for numbers and a dropdown menu to select the operation."
1381
  ],
1382
  [
1383
  "Write a Todo list app using React.js. The app should allow users to add, delete, and mark tasks as completed. Include features like filtering tasks by status (completed, active), sorting tasks by priority, and displaying the total number of tasks."
@@ -1454,7 +1454,7 @@ def build_ui():
1454
  "๐ŸŽŽ ๆ—ฅๆœฌใฎไผ็ตฑ็š„ใชๅ’ŒๆŸ„ใƒ‘ใ‚ฟใƒผใƒณ",
1455
  "๐ŸŒ Particles in a Spherical Container",
1456
  "๐Ÿ’น NVIDIA Stock Analysis with Matplotlib",
1457
- "๐Ÿงฎ Calculator with Gradio",
1458
  "๐Ÿ“ Todo List App with React.js",
1459
  "๐Ÿ“‚ File Upload Web App with Streamlit",
1460
  "๐Ÿ’ฆ Solve Trapping Rain Water Problem",
 
1377
  "Write a Python script to scrape NVIDIA's stock price for the past month using the yfinance library. Clean the data and create an interactive visualization using Matplotlib. Include: 1) A candlestick chart showing daily price movements 2) A line chart with 7-day and 30-day moving averages. Add hover tooltips showing exact values and date. Make the layout professional with proper titles and axis labels."
1378
  ],
1379
  [
1380
+ "Write a Python script that uses the Gradio library to create a chatbot that can have conversations with users. The chatbot should maintain conversation history, display messages in a chat interface, and respond to user inputs. Include a text input field for users to type messages and a chatbot component to display the conversation. The bot should give helpful responses and remember the context of the conversation."
1381
  ],
1382
  [
1383
  "Write a Todo list app using React.js. The app should allow users to add, delete, and mark tasks as completed. Include features like filtering tasks by status (completed, active), sorting tasks by priority, and displaying the total number of tasks."
 
1454
  "๐ŸŽŽ ๆ—ฅๆœฌใฎไผ็ตฑ็š„ใชๅ’ŒๆŸ„ใƒ‘ใ‚ฟใƒผใƒณ",
1455
  "๐ŸŒ Particles in a Spherical Container",
1456
  "๐Ÿ’น NVIDIA Stock Analysis with Matplotlib",
1457
+ "๐Ÿ’ฌ Chatbot with Gradio",
1458
  "๐Ÿ“ Todo List App with React.js",
1459
  "๐Ÿ“‚ File Upload Web App with Streamlit",
1460
  "๐Ÿ’ฆ Solve Trapping Rain Water Problem",