Spaces:
Configuration error
Configuration error
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
title = "Text Generator GPT-J-6B"
|
| 4 |
+
description = "Kindly input your text, submit and the computer will predict subsequent words for your text."
|
| 5 |
+
|
| 6 |
+
gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", inputs = gr.inputs.Textbox(lines=5, label="Input text.", title=title, description=description, enable_queue = True).launch()
|