Spaces:
Sleeping
Sleeping
Jeasonize it ?
Browse files
app.py
CHANGED
@@ -131,12 +131,10 @@ if prompt := st.chat_input(f"Hi I'm {selected_model}, How can I help you today?"
|
|
131 |
model=model_links[selected_model],)
|
132 |
|
133 |
output = client.post(
|
134 |
-
json=
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
"stream": True
|
139 |
-
}
|
140 |
)
|
141 |
|
142 |
# Create a placeholder for the streaming response
|
|
|
131 |
model=model_links[selected_model],)
|
132 |
|
133 |
output = client.post(
|
134 |
+
json=format_promt(prompt, custom_instructions),
|
135 |
+
temperature=temp_values,
|
136 |
+
max_new_tokens=1000,
|
137 |
+
stream=True
|
|
|
|
|
138 |
)
|
139 |
|
140 |
# Create a placeholder for the streaming response
|