laichai commited on
Commit
3b5c339
·
verified ·
1 Parent(s): 3944ee3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -13
app.py CHANGED
@@ -40,23 +40,13 @@ else:
40
  # --- MAIN PANEL ---
41
  current_data = ANIMATIONS[selected_topic][selected_script]
42
  st.write("Tip: Use the search box in the sidebar to find animations across all topics.")
43
- st.title(selected_script)
44
  st.caption(f"Category: {selected_topic}")
45
- #col1, col2 = st.columns([1, 3])
46
- #with col1:
47
 
48
  st.markdown("### Guide")
49
  st.info(current_data["description"])
50
  st.markdown("---")
51
 
52
- #with col2:
53
- components.iframe(current_data["url"], height=600, scrolling=False)
54
 
55
- #col1, col2 = st.columns([1, 3])
56
- #with col1:
57
- # st.markdown("### Guide")
58
- # st.info(current_data["description"])
59
- # st.markdown("---")
60
- # st.write("Tip: Use the search box in the sidebar to find animations across all topics.")
61
- #with col2:
62
- # components.iframe(current_data["url"], height=600, scrolling=False)
 
40
  # --- MAIN PANEL ---
41
  current_data = ANIMATIONS[selected_topic][selected_script]
42
  st.write("Tip: Use the search box in the sidebar to find animations across all topics.")
 
43
  st.caption(f"Category: {selected_topic}")
44
+ st.title(selected_script)
45
+
46
 
47
  st.markdown("### Guide")
48
  st.info(current_data["description"])
49
  st.markdown("---")
50
 
 
 
51
 
52
+ components.iframe(current_data["url"], height=600, scrolling=False)