Views
No views yet
git clone https://huggingface.co/SkillForge45/CyberFuture-2pip install fastapi torch transformers tqdm pyttsx3 datasets speech_recognition pydantic univorn typingpython model.pypython app.pycurl -X POST "http://localhost:8000/chat/"1-H "Content-Type: multipart/form-data" \
2-F "prompt=YOUR_QUESTION_HERE" \
3-F "max_length=50" \
4-F "use_voice=false" #for text chat
5### .void
6-H "Content-Type: multipart/form-data" \
7-F "audio_file=@audio.wav" \
8-F "max_length=50" \
9-F "use_voice=true" #for voice chat