Spaces:
Running on Zero
Running on Zero
zR commited on
Commit ·
5f7b72c
1
Parent(s): 83a2412
add suggested_hardware
Browse files4 unmodified lines56789104 unmodified linescolorTo: purplesdk: gradiosdk_version: 4.41.0app_port: 7860app_file: app.pymodels:4 unmodified lines5678910114 unmodified linescolorTo: purplesdk: gradiosdk_version: 4.41.0suggested_hardware: a100-largeapp_port: 7860app_file: app.pymodels:
28 unmodified lines2930313233343547 unmodified lines83848586878889909128 unmodified linesreturn False@spaces.GPU(duration=300)def predict(history, prompt, max_length, top_p, temperature):stop = StopOnTokens()messages = []47 unmodified lines</div><div style="text-align: center; font-size: 15px; font-weight: bold; color: red; margin-bottom: 20px;">⚠️ Due to the limitations of Huggingface ZERO GPUs, in order to output 10K characters in one go,we need to request a 5-minute quota each time.This will result in you only being able to use it once every 4 hours.If you plan to use it long-term, please consider deploying the model yourself.</div>""")28 unmodified lines2930313233343547 unmodified lines83848586878889909128 unmodified linesreturn False@spaces.GPU(duration=280)def predict(history, prompt, max_length, top_p, temperature):stop = StopOnTokens()messages = []47 unmodified lines</div><div style="text-align: center; font-size: 15px; font-weight: bold; color: red; margin-bottom: 20px;">⚠️ Due to the limitations of Huggingface ZERO GPUs, in order to output 10K characters in one go,we need to request a 4-5 minute quota each time.This will result in you only being able to use it once every 4 hours.If you plan to use it long-term, please consider deploying the model or fork this space yourself.</div>""")
README.md+1
app.py+3-3