stevessschen commited on
Commit
7d155ac
1 Parent(s): 08546ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
 
3
  x = st.slider('Select a value')
4
- st.wriet('steve test1')
5
  st.write(x, 'squared is', x * x)
6
 
7
  # Use a pipeline as a high-level helper
@@ -12,5 +12,5 @@ prompt = "What is a large language model?"
12
  #pipe = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=200)
13
  result = pipe(f"<s>[INST] {prompt} [/INST]")
14
  #print(result[0]['generated_text'])
15
- st.wriet('steve test2')
16
  st.write(result[0]['generated_text'])
 
1
  import streamlit as st
2
 
3
  x = st.slider('Select a value')
4
+ st.write('steve test1')
5
  st.write(x, 'squared is', x * x)
6
 
7
  # Use a pipeline as a high-level helper
 
12
  #pipe = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=200)
13
  result = pipe(f"<s>[INST] {prompt} [/INST]")
14
  #print(result[0]['generated_text'])
15
+ st.write('steve test2')
16
  st.write(result[0]['generated_text'])