Add comment to app.py to trigger HF rebuild
Browse files
app.py
CHANGED
@@ -29,7 +29,8 @@ except ImportError as e:
|
|
29 |
|
30 |
# --- Data Fetching and Processing Logic ---
|
31 |
# (Similar to the Streamlit version, but adapted for Gradio outputs)
|
32 |
-
|
|
|
33 |
"""Fetches data, analyzes sentiment, merges, and prepares outputs for Gradio."""
|
34 |
if not ticker_symbol:
|
35 |
return None, "Please enter a stock ticker.", None, None, None
|
@@ -244,4 +245,4 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
244 |
|
245 |
# --- Launch the App ---
|
246 |
if __name__ == "__main__":
|
247 |
-
demo.launch()
|
|
|
29 |
|
30 |
# --- Data Fetching and Processing Logic ---
|
31 |
# (Similar to the Streamlit version, but adapted for Gradio outputs)
|
32 |
+
# Added a comment below to trigger rebuild
|
33 |
+
def perform_analysis(ticker_symbol, start_date_str, end_date_str): # Renamed date inputs
|
34 |
"""Fetches data, analyzes sentiment, merges, and prepares outputs for Gradio."""
|
35 |
if not ticker_symbol:
|
36 |
return None, "Please enter a stock ticker.", None, None, None
|
|
|
245 |
|
246 |
# --- Launch the App ---
|
247 |
if __name__ == "__main__":
|
248 |
+
demo.launch() # App entry point
|