ai_workflows / api.py
shravya
endpoints
3fc3c48
raw
history blame
442 Bytes
import streamlit as st
def main():
st.title("Growthy API Documentation")
st.markdown("## Swagger UI")
st.markdown('<iframe src="http://127.0.0.1:8000/documentation" width="100%" height="600px"></iframe>', unsafe_allow_html=True)
st.markdown("## ReDoc")
st.markdown('<iframe src="http://127.0.0.1:8000/redoc" width="100%" height="1000px"></iframe>', unsafe_allow_html=True)
if __name__ == '__main__':
main()