Abu1998 commited on
Commit
d3e37a4
1 Parent(s): 01846fb

Update script_writing.py

Browse files
Files changed (1) hide show
  1. script_writing.py +4 -1
script_writing.py CHANGED
@@ -11,9 +11,12 @@ SEARCH_URL = "https://api.giphy.com/v1/gifs/search"
11
 
12
  # Initialize the client with the correct Hugging Face Space
13
  client = Client("Abu1998/Meme_finder")
14
-
15
  def generate_script(user_input):
16
  # Define the system message and input sentence
 
 
 
17
  system_message = """Task: Act as a YouTube Shorts content writer.
18
 
19
  Objective: Create engaging, catchy, and trendy scripts for YouTube Shorts videos that are brief, attention-grabbing, and optimized for viral potential.
 
11
 
12
  # Initialize the client with the correct Hugging Face Space
13
  client = Client("Abu1998/Meme_finder")
14
+ print(client) # Add this line to verify the client object
15
  def generate_script(user_input):
16
  # Define the system message and input sentence
17
+
18
+ print("Generating script for:", user_input) # Add this line to verify the function call
19
+ # ... rest of the function ...
20
  system_message = """Task: Act as a YouTube Shorts content writer.
21
 
22
  Objective: Create engaging, catchy, and trendy scripts for YouTube Shorts videos that are brief, attention-grabbing, and optimized for viral potential.