Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,7 @@ def call_llm(messages, model="deepseek/deepseek-chat-v3-0324:free", max_tokens=2
|
|
| 37 |
raise RuntimeError(f"Invalid response structure from OpenRouter: {result}")
|
| 38 |
|
| 39 |
return result["choices"][0]["message"]["content"]
|
|
|
|
| 40 |
# --- Streamlit UI ---
|
| 41 |
st.set_page_config("Autonomous Research Agent", layout="wide")
|
| 42 |
st.title("🤖 Autonomous AI Research Assistant")
|
|
|
|
| 37 |
raise RuntimeError(f"Invalid response structure from OpenRouter: {result}")
|
| 38 |
|
| 39 |
return result["choices"][0]["message"]["content"]
|
| 40 |
+
|
| 41 |
# --- Streamlit UI ---
|
| 42 |
st.set_page_config("Autonomous Research Agent", layout="wide")
|
| 43 |
st.title("🤖 Autonomous AI Research Assistant")
|