Spaces:
Sleeping
Sleeping
Commit
·
ace6e0d
1
Parent(s):
fffecf1
Update LLAMA2.py
Browse files
LLAMA2.py
CHANGED
@@ -28,11 +28,10 @@ user_input = st.text_area(
|
|
28 |
value = "Tell me a joke."
|
29 |
)
|
30 |
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
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)))
|
|