Spaces:
Sleeping
Sleeping
feat(ui):updated height
Browse files4 unmodified lines567889101113 unmodified lines252627282930314 unmodified linesdef streaming_response(user_input, history): response = chatbot_response(user_input, history) for i in range(len(response)): time.sleep(0.3) time.sleep(0.1) yield response[:i+1]
#Response13 unmodified lines chatbot = gr.ChatInterface( streaming_response, type="messages", chatbot=gr.Chatbot(height=500) title="Study Assistance Chatbot", description="Welcome! Ask me anything related to your academic studies.", examples=["Hello","Hi", "Hey", "Help"]app.py+2-1