Spaces:
Sleeping
Sleeping
Nikhil0987
commited on
Commit
•
f09ab5a
1
Parent(s):
07ed37f
Update convo.py
Browse files
convo.py
CHANGED
@@ -3,7 +3,7 @@ import streamlit as st
|
|
3 |
from streamlit_option_menu import option_menu
|
4 |
|
5 |
|
6 |
-
def
|
7 |
convo = st.text_input("Enter your message")
|
8 |
chatbot = pipeline(task="conversational", model="microsoft/DialoGPT-medium")
|
9 |
conversation = Conversation(convo)
|
@@ -22,4 +22,4 @@ def convo():
|
|
22 |
st.write(ans)
|
23 |
|
24 |
|
25 |
-
convo()
|
|
|
3 |
from streamlit_option_menu import option_menu
|
4 |
|
5 |
|
6 |
+
def Convo():
|
7 |
convo = st.text_input("Enter your message")
|
8 |
chatbot = pipeline(task="conversational", model="microsoft/DialoGPT-medium")
|
9 |
conversation = Conversation(convo)
|
|
|
22 |
st.write(ans)
|
23 |
|
24 |
|
25 |
+
# convo()
|