generated from stub-ai/template-nextjs-page-tailwind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstub.json
1 lines (1 loc) · 1.88 KB
/
stub.json
1
{"config":{"system_prompt":"","model":"","temperature":0,"top_p":1,"framework":"nextjs-page-tailwind"},"prompts":[{"prompt":"Create a calculator component that can take 2 number as input and has ability to do the basic math operations and show the results. Show the numbers 0-9 as small buttons along with the operations. Make the component very well styled and beautiful, add to the home page","md5":"9cdb366822d686e369336ffb29c558b0"},{"prompt":"使用fastapi,我創建了一個POST請求來生成音頻文件。當我發送請求時,我沒有在網頁上收到音頻文件的展示。我的代碼如下:\n\nwith BytesIO() as wavContent:\n wavfile.write(\n wavContent, loaded_models.models[model_id].hps.data.sampling_rate, audio\n )\n response = Response(content=wavContent.getvalue(), media_type=\"audio/wav\")\n return response\n\n請幫我找出問題所在並提供解決方案。","md5":"c43135d1c0871a1761148e1ab1def34b"},{"prompt":"使用fastapi,我創建了一個POST請求來生成音頻文件。當我發送請求時,我沒有在網頁上收到音頻文件的展示。我的代碼如下:\n\nwith BytesIO() as wavContent:\n wavfile.write(\n wavContent, loaded_models.models[model_id].hps.data.sampling_rate, audio\n )\n response = Response(content=wavContent.getvalue(), media_type=\"audio/wav\")\n return response\n\n請幫我找出問題所在並提供解決方案。","md5":"a1d8362896b4e24368f3615a17c935bc"},{"prompt":"我需要修正以下的FastAPI POST請求代碼,以確保能夠正確地生成並返回一個音頻文件:\n\nwith BytesIO() as wavContent:\n wavfile.write(\n wavContent, loaded_models.models[model_id].hps.data.sampling_rate, audio\n )\n response = Response(content=wavContent.getvalue(), media_type=\"audio/wav\")\n return response\n\n請提供必要的修改建議。","md5":"3d115e110b1a6d929f297418813be94c"}]}