Sayiqa commited on
Commit
c171c6f
Β·
verified Β·
1 Parent(s): 00e4be8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -612,6 +612,7 @@ def analyze_sentiment(url):
612
  except Exception as e:
613
  return f"Error: {str(e)}", "N/A"
614
 
 
615
  # Gradio Interface
616
  with gr.Blocks(theme=gr.themes.Soft()) as app:
617
  # Login Page
@@ -656,6 +657,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
656
  summary = gr.Textbox(label="πŸ“ Summary", lines=8)
657
  sentiment = gr.Textbox(label="😊 Content Sentiment")
658
 
 
659
  def login_check(user, pwd):
660
  if USER_CREDENTIALS.get(user) == pwd:
661
  return {
 
612
  except Exception as e:
613
  return f"Error: {str(e)}", "N/A"
614
 
615
+ # Gradio Interface
616
  # Gradio Interface
617
  with gr.Blocks(theme=gr.themes.Soft()) as app:
618
  # Login Page
 
657
  summary = gr.Textbox(label="πŸ“ Summary", lines=8)
658
  sentiment = gr.Textbox(label="😊 Content Sentiment")
659
 
660
+
661
  def login_check(user, pwd):
662
  if USER_CREDENTIALS.get(user) == pwd:
663
  return {