model
Browse files
app.py
CHANGED
|
@@ -1,4 +1,12 @@
|
|
| 1 |
import streamlit as st
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
from transformers import pipeline
|
| 3 |
|
| 4 |
+
# Load your model
|
| 5 |
+
model = pipeline("text-classification", model="webml-community/deepseek-r1-webgpu")
|
| 6 |
+
|
| 7 |
+
st.title("DeepSeek Search")
|
| 8 |
+
query = st.text_input("Enter your query:")
|
| 9 |
+
|
| 10 |
+
if query:
|
| 11 |
+
result = model(query)
|
| 12 |
+
st.write("Result:", result)
|