marks commited on
Commit
5c2f492
·
1 Parent(s): 72e36b0

Added huggingface config

Browse files
Files changed (1) hide show
  1. README.md +37 -0
README.md CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  # Gradio Podcast Generator
2
 
3
  This project is a Gradio application that generates a podcast episode based on content scraped from a provided URL. It utilizes various components to scrape the content, generate a podcast script, and convert the script into audio format.
@@ -28,6 +39,32 @@ gradio-podcast-generator
28
  pip install -r requirements.txt
29
  ```
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  ## Usage
32
 
33
  To run the Gradio application, execute the following command in your terminal:
 
1
+ ---
2
+ title: URL to Podcast Generator
3
+ emoji: 🎙️
4
+ colorFrom: indigo
5
+ colorTo: purple
6
+ sdk: gradio
7
+ sdk_version: "3.50.2"
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
+
12
  # Gradio Podcast Generator
13
 
14
  This project is a Gradio application that generates a podcast episode based on content scraped from a provided URL. It utilizes various components to scrape the content, generate a podcast script, and convert the script into audio format.
 
39
  pip install -r requirements.txt
40
  ```
41
 
42
+ ## Flask Configuration
43
+
44
+ The application uses Flask with Gradio integration. Here's how to set it up and run it:
45
+
46
+ 1. Install the requirements:
47
+ ```bash
48
+ pip install flask gradio
49
+ ```
50
+
51
+ 2. Configure the environment:
52
+ ```bash
53
+ export FLASK_APP=app.py
54
+ export FLASK_ENV=development # For development mode
55
+ ```
56
+
57
+ 3. Run the application:
58
+ ```bash
59
+ python app.py
60
+ ```
61
+
62
+ The server will start on `http://0.0.0.0:7860` with the following configuration:
63
+ - Host: 0.0.0.0 (accessible from any IP)
64
+ - Port: 7860
65
+ - Debug mode: Enabled
66
+ - Gradio interface: Mounted at root path '/'
67
+
68
  ## Usage
69
 
70
  To run the Gradio application, execute the following command in your terminal: