Spaces:
Sleeping
Sleeping
Commit ·
c525d91
1
Parent(s): 09eaf16
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,8 +6,6 @@ pipeline = pipeline(task="conversational", model="lmsys/fastchat-t5-3b-v1.0")
|
|
| 6 |
st.title("Conversational AI with FastChat")
|
| 7 |
|
| 8 |
query = st.text_input("Enter your query:")
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
st.subheader("Response:")
|
| 13 |
-
st.write(response["text"])
|
|
|
|
| 6 |
st.title("Conversational AI with FastChat")
|
| 7 |
|
| 8 |
query = st.text_input("Enter your query:")
|
| 9 |
+
response = pipeline(query)
|
| 10 |
+
st.subheader("Response:")
|
| 11 |
+
st.write(response["text"])
|
|
|
|
|
|