Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
description = 'This is a text generation model which uses the transformer architecture to generate text given an prompt'
|
| 4 |
+
title = 'Story Generator'
|
| 5 |
+
gr.Interface.load('huggingface/EleutherAI/gpt-j-6B', inputs=gr.inputs.Textbox(lines=5, label='Write a text prompt'), title=title, description=description).launch()
|