TUM.ai X Anthropic - Procurement Assistant
# For voice input (PyAudio)
sudo apt-get install -y portaudio19-dev
# For audio processing (optional)
sudo apt-get install -y ffmpegpip install -e .Or install manually:
pip install SpeechRecognition PyAudio-
Add API Key - Create
secrets.yamlin the project root:API_KEY: "your-anthropic-api-key"
-
Install Dependencies:
pip install -e . -
Run Backend:
python backend/main.py
-
Run Frontend (in a new terminal):
streamlit run Frontend/app.py
HammerTime/
├── backend/
│ ├── main.py # FastAPI backend
│ └── utils/
│ ├── request_agent.py # AI agent logic
│ └── image_processing.py
├── Frontend/
│ ├── app.py # Main entry point
│ ├── styles.py # CSS styling
│ ├── config.py # Configuration & session state
│ ├── utils.py # Helper functions
│ ├── components.py # Reusable UI components
│ └── views/ # Page views
│ ├── dashboard.py
│ ├── voice_request.py
│ ├── image_search.py
│ ├── orders.py
│ └── reports.py
├── secrets.yaml # API keys (not in git)
└── pyproject.toml # Dependencies
sudo apt-get install -y portaudio19-dev
pip install pyaudiopip install SpeechRecognitionHackathon Demo v2.0