pkms commited on
Commit
775329c
·
1 Parent(s): 1d6fd95
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -1,4 +1,12 @@
1
  import streamlit as st
 
2
 
3
- x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
 
 
 
 
 
 
 
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)