Spaces:
Running
on
Zero
Running
on
Zero
Updated app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,8 @@ import numpy as np
|
|
9 |
import os
|
10 |
from PIL import Image, ImageDraw, ImageFont
|
11 |
|
|
|
|
|
12 |
def generate_script(topic):
|
13 |
"""Uses an open-source LLM to generate an engaging script of 8-10 minutes."""
|
14 |
llm = pipeline("text-generation", model="mistralai/Mistral-7B-Instruct-v0.3")
|
|
|
9 |
import os
|
10 |
from PIL import Image, ImageDraw, ImageFont
|
11 |
|
12 |
+
|
13 |
+
|
14 |
def generate_script(topic):
|
15 |
"""Uses an open-source LLM to generate an engaging script of 8-10 minutes."""
|
16 |
llm = pipeline("text-generation", model="mistralai/Mistral-7B-Instruct-v0.3")
|