Stepan Sypkov
commited on
Commit
·
1aaf4f4
1
Parent(s):
158a8a9
change model6
Browse files- app.py +1 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
-
|
4 |
# Initialize the pipeline for text generation
|
5 |
pipe = pipeline("text-generation", model="cognitivecomputations/dolphin-2.9.4-llama3.1-8b")
|
6 |
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
+
import torch
|
4 |
# Initialize the pipeline for text generation
|
5 |
pipe = pipeline("text-generation", model="cognitivecomputations/dolphin-2.9.4-llama3.1-8b")
|
6 |
|
requirements.txt
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
huggingface_hub==0.25.2
|
2 |
-
transformers
|
|
|
|
1 |
huggingface_hub==0.25.2
|
2 |
+
transformers
|
3 |
+
torch
|