Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	Merge branch 'main' of https://huggingface.co/spaces/butterswords/MM_Math_Helper
Browse files
    	
        app.py
    CHANGED
    
    | @@ -34,7 +34,8 @@ with st.sidebar: | |
| 34 | 
             
                logger.info(f"Model changed to {model_choice}.")
         | 
| 35 | 
             
                systemPrompt = st.radio("Designate a control persona:",options=["Model","Tutor"])
         | 
| 36 | 
             
                st.session_state.systemPrompt = systemPrompt
         | 
| 37 | 
            -
            st.subheader(f"This experience is currently running on {st.session_state.model}")
         | 
|  | |
| 38 | 
             
            # Initialize chat history
         | 
| 39 | 
             
            if "messages" not in st.session_state:
         | 
| 40 | 
             
                st.session_state.messages = []
         | 
|  | |
| 34 | 
             
                logger.info(f"Model changed to {model_choice}.")
         | 
| 35 | 
             
                systemPrompt = st.radio("Designate a control persona:",options=["Model","Tutor"])
         | 
| 36 | 
             
                st.session_state.systemPrompt = systemPrompt
         | 
| 37 | 
            +
            st.subheader(f"This experience is currently running on {st.session_state.model}.")
         | 
| 38 | 
            +
            st.warning("The experience is currently nonfunctional as I attempt to figure out how to expose the image URL to the HF inference API via streamlit...")
         | 
| 39 | 
             
            # Initialize chat history
         | 
| 40 | 
             
            if "messages" not in st.session_state:
         | 
| 41 | 
             
                st.session_state.messages = []
         | 
