Wootang01 commited on
Commit
5a0b5d0
·
1 Parent(s): 97de850

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -1,12 +1,5 @@
1
  import gradio as gr
2
- from gradio.mix import Series
3
 
4
  description_ = "Kindly input text, submit, and the computer will predict subsequent words for your text input."
5
 
6
- model1 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-125M")
7
- model2 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B")
8
-
9
- demo = gr.TabbedInterface([model1, model2], ["Model 1", "Model 2"])
10
-
11
- if __name__ == "__main__":
12
- demo.launch()
 
1
  import gradio as gr
 
2
 
3
  description_ = "Kindly input text, submit, and the computer will predict subsequent words for your text input."
4
 
5
+ gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B").launch()