Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,11 +8,11 @@ pipe2 = pipeline("image-to-text", model="nlpconnect/vit-gpt2-image-captioning")
|
|
8 |
repo_id = "mistralai/Mistral-7B-Instruct-v0.2"
|
9 |
|
10 |
|
11 |
-
llm =
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
def reduce_add(a):
|
17 |
ll=dict()
|
18 |
for i in a:
|
|
|
8 |
repo_id = "mistralai/Mistral-7B-Instruct-v0.2"
|
9 |
|
10 |
|
11 |
+
llm = HuggingFaceEndpoint(
|
12 |
+
repo_id=repo_id,
|
13 |
+
max_length=100,
|
14 |
+
temperature=0.5
|
15 |
+
)
|
16 |
def reduce_add(a):
|
17 |
ll=dict()
|
18 |
for i in a:
|