Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -50,8 +50,8 @@ def chat_with_nietzsche(user_input): | |
| 50 |  | 
| 51 | 
             
            # Streamlit app
         | 
| 52 | 
             
            def main():
         | 
| 53 | 
            -
                st.title("Nietzsche Chatbot by HERTOG")
         | 
| 54 | 
            -
                st.markdown("Ask Friedrich Nietzsche anything, and he will respond from his philosophical perspective. Tanya  | 
| 55 |  | 
| 56 | 
             
                # Initialize session state for conversation history
         | 
| 57 | 
             
                if "history" not in st.session_state:
         | 
| @@ -60,9 +60,9 @@ def main(): | |
| 60 | 
             
                # Display conversation history
         | 
| 61 | 
             
                for i, (user_input, bot_response) in enumerate(st.session_state.history):
         | 
| 62 | 
             
                    st.text_area("You", value=user_input, height=68, disabled=True, key=f"user_input_{i}")
         | 
| 63 | 
            -
                     | 
| 64 | 
            -
             | 
| 65 | 
            -
             | 
| 66 | 
             
                        f"""
         | 
| 67 | 
             
                        <div style="
         | 
| 68 | 
             
                            font-size: 16px;
         | 
|  | |
| 50 |  | 
| 51 | 
             
            # Streamlit app
         | 
| 52 | 
             
            def main():
         | 
| 53 | 
            +
                st.title("Nietzsche is alive Chatbot Multilingual by HERTOG")
         | 
| 54 | 
            +
                st.markdown("Ask Friedrich Nietzsche anything, and he will respond from his philosophical perspective. Tanya sama Filsuf Ateis ")
         | 
| 55 |  | 
| 56 | 
             
                # Initialize session state for conversation history
         | 
| 57 | 
             
                if "history" not in st.session_state:
         | 
|  | |
| 60 | 
             
                # Display conversation history
         | 
| 61 | 
             
                for i, (user_input, bot_response) in enumerate(st.session_state.history):
         | 
| 62 | 
             
                    st.text_area("You", value=user_input, height=68, disabled=True, key=f"user_input_{i}")
         | 
| 63 | 
            +
                    
         | 
| 64 | 
            +
                    # Use st.markdown with HTML to style the bot's response
         | 
| 65 | 
            +
                    st.markdown(
         | 
| 66 | 
             
                        f"""
         | 
| 67 | 
             
                        <div style="
         | 
| 68 | 
             
                            font-size: 16px;
         | 
