Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 9 |
device_map="auto",
|
| 10 |
torch_dtype='auto'
|
| 11 |
).eval()
|
|
|
|
| 12 |
|
| 13 |
if text:
|
| 14 |
messages = [
|
|
|
|
| 9 |
device_map="auto",
|
| 10 |
torch_dtype='auto'
|
| 11 |
).eval()
|
| 12 |
+
text = st.text_input("enter text here")
|
| 13 |
|
| 14 |
if text:
|
| 15 |
messages = [
|