Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,3 @@
|
|
1 |
-
#display a text
|
2 |
import gradio as gr
|
3 |
|
4 |
-
|
5 |
-
return text
|
6 |
-
|
7 |
-
demo = gr.Interface("huggingface/EleutherAI/gpt-j-6B", inputs=gr.Textbox(lines=5, label="Input Text"), "text")
|
8 |
-
#alternatively use gr.TextBox()
|
9 |
-
demo.launch()
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
gr.Interface.load("huggingface/gpt2").launch();
|
|
|
|
|
|
|
|
|
|