Spaces:
Running
on
Zero
Running
on
Zero
rename duckduckgo_search to ddgs
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import gradio as gr
|
|
9 |
import torch
|
10 |
from transformers import pipeline, TextIteratorStreamer
|
11 |
from transformers import AutoTokenizer
|
12 |
-
from
|
13 |
import spaces # Import spaces early to enable ZeroGPU support
|
14 |
|
15 |
# Optional: Disable GPU visibility if you wish to force CPU usage
|
|
|
9 |
import torch
|
10 |
from transformers import pipeline, TextIteratorStreamer
|
11 |
from transformers import AutoTokenizer
|
12 |
+
from ddgs import DDGS
|
13 |
import spaces # Import spaces early to enable ZeroGPU support
|
14 |
|
15 |
# Optional: Disable GPU visibility if you wish to force CPU usage
|