Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
from huggingface_hub import InferenceClient
|
|
|
2 |
import gradio as gr
|
3 |
|
|
|
|
|
|
|
4 |
client = InferenceClient(
|
5 |
"mistralai/Mistral-7B-Instruct-v0.3"
|
6 |
)
|
|
|
1 |
from huggingface_hub import InferenceClient
|
2 |
+
from huggingface import set_seed
|
3 |
import gradio as gr
|
4 |
|
5 |
+
### setting the seed
|
6 |
+
sed_seed(111)
|
7 |
+
|
8 |
client = InferenceClient(
|
9 |
"mistralai/Mistral-7B-Instruct-v0.3"
|
10 |
)
|