Mykes commited on
Commit
4ec4237
·
verified ·
1 Parent(s): ba13dd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ llm = Llama.from_pretrained(
8
  )
9
 
10
  input_text = st.text_input('text')
11
- if text:
12
  output = llm(
13
  input_text, # Prompt
14
  max_tokens=32, # Generate up to 32 tokens, set to None to generate up to the end of the context window
 
8
  )
9
 
10
  input_text = st.text_input('text')
11
+ if input_text:
12
  output = llm(
13
  input_text, # Prompt
14
  max_tokens=32, # Generate up to 32 tokens, set to None to generate up to the end of the context window