Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -100,12 +100,12 @@ iface = gr.Interface(
|
|
100 |
|
101 |
#store_message(message, response) # Save to dataset
|
102 |
|
103 |
-
|
104 |
-
|
105 |
generator1 = gr.Interface.load("huggingface/gpt2-large", api_key=HF_TOKEN)
|
106 |
gr.Parallel(generator1,
|
107 |
-
|
108 |
-
|
109 |
inputs = gr.inputs.Textbox(lines=5, label="Enter a sentence to get another sentence."),
|
110 |
examples=examples,
|
111 |
title="Mindfulness Story Generation with Persistent Dataset Memory",
|
|
|
100 |
|
101 |
#store_message(message, response) # Save to dataset
|
102 |
|
103 |
+
generator2 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B", api_key=HF_TOKEN)
|
104 |
+
generator3 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", api_key=HF_TOKEN)
|
105 |
generator1 = gr.Interface.load("huggingface/gpt2-large", api_key=HF_TOKEN)
|
106 |
gr.Parallel(generator1,
|
107 |
+
generator2,
|
108 |
+
generator3,
|
109 |
inputs = gr.inputs.Textbox(lines=5, label="Enter a sentence to get another sentence."),
|
110 |
examples=examples,
|
111 |
title="Mindfulness Story Generation with Persistent Dataset Memory",
|