Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -17,12 +17,11 @@ pipe = pipeline(
|
|
17 |
device=device,
|
18 |
)
|
19 |
|
20 |
-
@spaces.GPU(duration=120)
|
21 |
def respond_to_question_llama(transcript, question):
|
22 |
from huggingface_hub import InferenceClient
|
23 |
|
24 |
client = InferenceClient(
|
25 |
-
"meta-llama/Meta-Llama-3.1-
|
26 |
token=os.environ["HUGGINGFACEHUB_API_TOKEN"],
|
27 |
)
|
28 |
|
|
|
17 |
device=device,
|
18 |
)
|
19 |
|
|
|
20 |
def respond_to_question_llama(transcript, question):
|
21 |
from huggingface_hub import InferenceClient
|
22 |
|
23 |
client = InferenceClient(
|
24 |
+
"meta-llama/Meta-Llama-3.1-8B-Instruct",
|
25 |
token=os.environ["HUGGINGFACEHUB_API_TOKEN"],
|
26 |
)
|
27 |
|