pyresearch commited on
Commit
aa70e5c
·
verified ·
1 Parent(s): e2cd693

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,12 +48,12 @@ def get_tts_channel():
48
 
49
 
50
  # User input
51
- model_type = st.selectbox("Select Model", ["GPT-4 Vision"])
52
  raw_text = st.text_area("This news is real or fake?")
53
  image_upload = st.file_uploader("Upload Image", type=["jpg", "jpeg", "png"])
54
 
55
  # Button to generate result
56
- if st.button("Generate Result"):
57
  if model_type == "GPT-4 Vision":
58
  # Set up gRPC channel for GPT-4 Vision
59
  channel_gpt4 = ClarifaiChannel.get_grpc_channel()
 
48
 
49
 
50
  # User input
51
+ model_type = st.selectbox("Select Model", ["Fake news detection model"])
52
  raw_text = st.text_area("This news is real or fake?")
53
  image_upload = st.file_uploader("Upload Image", type=["jpg", "jpeg", "png"])
54
 
55
  # Button to generate result
56
+ if st.button("Generate News Result"):
57
  if model_type == "GPT-4 Vision":
58
  # Set up gRPC channel for GPT-4 Vision
59
  channel_gpt4 = ClarifaiChannel.get_grpc_channel()