iamsubrata commited on
Commit
ace6e0d
1 Parent(s): fffecf1

Update LLAMA2.py

Browse files
Files changed (1) hide show
  1. LLAMA2.py +7 -8
LLAMA2.py CHANGED
@@ -28,11 +28,10 @@ user_input = st.text_area(
28
  value = "Tell me a joke."
29
  )
30
 
31
- if user_input:
32
- button = st.button(
33
- label = "Generate",
34
- key = "generate"
35
- )
36
-
37
- if button:
38
- st.write(LLM(str(user_input)))
 
28
  value = "Tell me a joke."
29
  )
30
 
31
+ button = st.button(
32
+ label = "Generate",
33
+ key = "generate"
34
+ )
35
+
36
+ if user_input and button:
37
+ st.write(LLM(str(user_input)))