lunarflu HF Staff commited on
Commit
f843a29
·
verified ·
1 Parent(s): aca2dfd

try adding gradio placeholder

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -56,8 +56,13 @@ def monitor_new_posts():
56
  except Exception as e:
57
  print(f"Error during streaming submissions: {e}")
58
 
 
 
 
59
  if __name__ == "__main__":
60
  try:
 
 
61
  print("Starting main function...")
62
  monitor_new_posts()
63
  except Exception as e:
 
56
  except Exception as e:
57
  print(f"Error during streaming submissions: {e}")
58
 
59
+ def placeholder_function():
60
+ return "Reddit monitoring is running!"
61
+
62
  if __name__ == "__main__":
63
  try:
64
+ demo = gr.Interface(fn=placeholder_function, inputs=[], outputs="text")
65
+ demo.launch(share=True)
66
  print("Starting main function...")
67
  monitor_new_posts()
68
  except Exception as e: