Spaces:
Sleeping
Sleeping
Commit ·
8d67dbc
1
Parent(s): 7d77316
docs: ZeroGPU/@spaces.GPU yorumunu netleştir
Browse files
app.py
CHANGED
|
@@ -9,9 +9,9 @@ Arka planda cagrilan her tool ve donen veri kullaniciya adim adim gosterilir.
|
|
| 9 |
import os
|
| 10 |
import gradio as gr
|
| 11 |
|
| 12 |
-
# ZeroGPU
|
| 13 |
-
# LLM cagrisi disaridan (Groq) geldigi icin GPU
|
| 14 |
-
# adina spaces'i import edip decorator
|
| 15 |
try:
|
| 16 |
import spaces
|
| 17 |
GPU = spaces.GPU
|
|
|
|
| 9 |
import os
|
| 10 |
import gradio as gr
|
| 11 |
|
| 12 |
+
# ZeroGPU, ucretsiz HF hesaplarinda Gradio Space icin tek secenek ve en az bir
|
| 13 |
+
# @spaces.GPU fonksiyonu bekliyor. LLM cagrisi disaridan (Groq) geldigi icin GPU'yu
|
| 14 |
+
# fiilen kullanmayiz; yine de uyumluluk adina spaces'i import edip decorator koyuyoruz.
|
| 15 |
try:
|
| 16 |
import spaces
|
| 17 |
GPU = spaces.GPU
|