Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
-
# نستخدم نموذج مجاني تمام
|
| 5 |
generator = pipeline(
|
| 6 |
"text-generation",
|
| 7 |
model="tiiuae/falcon-7b-instruct",
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
+
# نستخدم نموذج مجاني تماماً على CPU
|
| 5 |
generator = pipeline(
|
| 6 |
"text-generation",
|
| 7 |
model="tiiuae/falcon-7b-instruct",
|