saakshigupta commited on
Commit
6d32d3e
·
verified ·
1 Parent(s): f3c6a55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1088,7 +1088,7 @@ def main():
1088
  caption_text += f"\n\nGradCAM Analysis:\n{st.session_state.gradcam_caption}"
1089
 
1090
  # Default question with option to customize
1091
- default_question = f"This image has been classified as {{pred_label}}. Analyze all the provided images (original, GradCAM visualization, and comparison) to determine if this is a deepfake. Focus on highlighted areas in the GradCAM visualization. Provide both a technical explanation for experts and a simple explanation for non-technical users."
1092
 
1093
  # User input for new question
1094
  new_question = st.text_area("Ask a question about the image:", value=default_question if not st.session_state.chat_history else "", height=100)
 
1088
  caption_text += f"\n\nGradCAM Analysis:\n{st.session_state.gradcam_caption}"
1089
 
1090
  # Default question with option to customize
1091
+ default_question = f"Ask your question about this image..."
1092
 
1093
  # User input for new question
1094
  new_question = st.text_area("Ask a question about the image:", value=default_question if not st.session_state.chat_history else "", height=100)