sheikhcoders commited on
Commit
6f0ae6f
Β·
verified Β·
1 Parent(s): a46f5d8

OAuth-free version to fix HfFolder import error

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,6 +1,6 @@
1
  #!/usr/bin/env python3
2
  """
3
- Simple Browser Automation Tool for HuggingFace Spaces
4
  """
5
 
6
  import gradio as gr
@@ -106,7 +106,7 @@ def batch_navigate(urls, headless=True):
106
  # Gradio Interface
107
  def main():
108
  with gr.Blocks(title="Browser Automation Tool") as demo:
109
- gr.Markdown("# 🌐 Browser Automation Tool - Build Fixed")
110
 
111
  with gr.Tab("Single URL"):
112
  with gr.Row():
@@ -162,10 +162,11 @@ def main():
162
  - πŸ” **Content Extraction**: Extract text content from HTML
163
  - ⚑ **Batch Processing**: Process multiple URLs at once
164
  - πŸ”§ **Configurable Options**: Headless mode, window sizes
 
165
  """)
166
 
167
  return demo
168
 
169
  if __name__ == "__main__":
170
  demo = main()
171
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
1
  #!/usr/bin/env python3
2
  """
3
+ Simple Browser Automation Tool for HuggingFace Spaces - No OAuth Version
4
  """
5
 
6
  import gradio as gr
 
106
  # Gradio Interface
107
  def main():
108
  with gr.Blocks(title="Browser Automation Tool") as demo:
109
+ gr.Markdown("# 🌐 Browser Automation Tool - OAuth-Free Version")
110
 
111
  with gr.Tab("Single URL"):
112
  with gr.Row():
 
162
  - πŸ” **Content Extraction**: Extract text content from HTML
163
  - ⚑ **Batch Processing**: Process multiple URLs at once
164
  - πŸ”§ **Configurable Options**: Headless mode, window sizes
165
+ - βœ… **OAuth-Free**: No authentication required
166
  """)
167
 
168
  return demo
169
 
170
  if __name__ == "__main__":
171
  demo = main()
172
+ demo.launch(server_name="0.0.0.0", server_port=7860, share=False)