Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -231,7 +231,7 @@ if uploaded_file is not None:
|
|
| 231 |
st.warning("No embeddings were generated.")
|
| 232 |
|
| 233 |
# Query input and response
|
| 234 |
-
st.title("
|
| 235 |
query = st.text_input("Enter your query:")
|
| 236 |
|
| 237 |
if query:
|
|
@@ -276,7 +276,7 @@ Relevant Information:
|
|
| 276 |
Provide a clear, concise, and comprehensive answer. Synthesize information from multiple entries if necessary. Cite specific details and examples when applicable. If information is missing, state what is known and what remains uncertain."""
|
| 277 |
|
| 278 |
response = client.chat.completions.create(
|
| 279 |
-
model="gpt-
|
| 280 |
messages=[
|
| 281 |
{"role": "system", "content": system_prompt},
|
| 282 |
{"role": "user", "content": user_prompt}
|
|
|
|
| 231 |
st.warning("No embeddings were generated.")
|
| 232 |
|
| 233 |
# Query input and response
|
| 234 |
+
st.title("Gradient-Cyber")
|
| 235 |
query = st.text_input("Enter your query:")
|
| 236 |
|
| 237 |
if query:
|
|
|
|
| 276 |
Provide a clear, concise, and comprehensive answer. Synthesize information from multiple entries if necessary. Cite specific details and examples when applicable. If information is missing, state what is known and what remains uncertain."""
|
| 277 |
|
| 278 |
response = client.chat.completions.create(
|
| 279 |
+
model="gpt-4o",
|
| 280 |
messages=[
|
| 281 |
{"role": "system", "content": system_prompt},
|
| 282 |
{"role": "user", "content": user_prompt}
|