Mr-Vicky-01 commited on
Commit
2f11875
·
verified ·
1 Parent(s): 44c0f9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -48,12 +48,12 @@ if submit:
48
  with st.spinner("Building the Webpage..."):
49
  response = generate_response(input_prompt, image_data)
50
 
51
- # Extract code from the response
52
- code = response.strip("```")
53
 
54
- # Display the code
55
- st.subheader("Generated Code:")
56
- st.code(code, language='html')
57
 
58
  # Render the HTML Output with larger dimensions
59
  if st.button("Render This Code"):
 
48
  with st.spinner("Building the Webpage..."):
49
  response = generate_response(input_prompt, image_data)
50
 
51
+ # Extract code from the response
52
+ code = response.strip("```")
53
 
54
+ # Display the code
55
+ st.subheader("Generated Code:")
56
+ st.code(code, language='html')
57
 
58
  # Render the HTML Output with larger dimensions
59
  if st.button("Render This Code"):