Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ llm = Llama.from_pretrained(
|
|
| 8 |
)
|
| 9 |
|
| 10 |
input_text = st.text_input('text')
|
| 11 |
-
if
|
| 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
|