Spaces:
Runtime error
Runtime error
SoSa123456
commited on
Commit
•
06980e4
1
Parent(s):
5ca7dce
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from transformers import pipeline
|
|
8 |
import gradio as gr
|
9 |
|
10 |
# Initialize the language model
|
11 |
-
generator = pipeline('text-generation', model='tiiuae/falcon-7b-instruct')
|
12 |
|
13 |
def generate_script(host_name, listener_location, causes_climate_change, co2_level, effects_climate_change, sea_level_rise, warming_rate, potential_solutions, individual_role, call_to_action):
|
14 |
# Variables
|
|
|
8 |
import gradio as gr
|
9 |
|
10 |
# Initialize the language model
|
11 |
+
generator = pipeline('text-generation', model='mistralai/Mixtral-8x7B-Instruct-v0.1') #'tiiuae/falcon-7b-instruct')
|
12 |
|
13 |
def generate_script(host_name, listener_location, causes_climate_change, co2_level, effects_climate_change, sea_level_rise, warming_rate, potential_solutions, individual_role, call_to_action):
|
14 |
# Variables
|