Spaces:
Running
Running
Commit
·
9ece64d
1
Parent(s):
45b5556
Update main.py
Browse files
main.py
CHANGED
@@ -34,7 +34,7 @@ class UserInterface():
|
|
34 |
max_value=1.0,
|
35 |
step=0.1,
|
36 |
value=0.5,
|
37 |
-
help="Set the temperature to get accurate or random result"
|
38 |
)
|
39 |
|
40 |
self.max_token_length = st.sidebar.slider(
|
@@ -43,7 +43,7 @@ class UserInterface():
|
|
43 |
max_value=2048,
|
44 |
step=16,
|
45 |
value=64,
|
46 |
-
help="Set max tokens to generate maximum amount of text output"
|
47 |
)
|
48 |
|
49 |
|
@@ -90,7 +90,7 @@ class UserInterface():
|
|
90 |
]
|
91 |
)
|
92 |
llm = HuggingFaceHub(
|
93 |
-
repo_id = self.
|
94 |
model_kwargs = self.model_kwargs
|
95 |
)
|
96 |
|
|
|
34 |
max_value=1.0,
|
35 |
step=0.1,
|
36 |
value=0.5,
|
37 |
+
help="Set the temperature to get the accurate or random result"
|
38 |
)
|
39 |
|
40 |
self.max_token_length = st.sidebar.slider(
|
|
|
43 |
max_value=2048,
|
44 |
step=16,
|
45 |
value=64,
|
46 |
+
help="Set max tokens to generate the maximum amount of text output"
|
47 |
)
|
48 |
|
49 |
|
|
|
90 |
]
|
91 |
)
|
92 |
llm = HuggingFaceHub(
|
93 |
+
repo_id = self.models,
|
94 |
model_kwargs = self.model_kwargs
|
95 |
)
|
96 |
|