Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,7 +99,7 @@ ch=[]
|
|
| 99 |
def chat():
|
| 100 |
|
| 101 |
h_s="\n".join(ch)
|
| 102 |
-
i=st.
|
| 103 |
i_s=tokenizer.encode_plus(h_s,i,return_tensors="pt")
|
| 104 |
outputs=model.generate(**i_s,max_length=60)
|
| 105 |
response=tokenizer.decode(outputs[0],skip_special_tokens=True).strip()
|
|
|
|
| 99 |
def chat():
|
| 100 |
|
| 101 |
h_s="\n".join(ch)
|
| 102 |
+
i=st.text_input("enter")
|
| 103 |
i_s=tokenizer.encode_plus(h_s,i,return_tensors="pt")
|
| 104 |
outputs=model.generate(**i_s,max_length=60)
|
| 105 |
response=tokenizer.decode(outputs[0],skip_special_tokens=True).strip()
|