DevBM commited on
Commit
f3b6969
1 Parent(s): 47c9add

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -1,8 +1,2 @@
1
  import gradio as gr
2
- from transformers import pipeline
3
-
4
- # Load your model
5
- model = pipeline("question-answering", model="DevBM/t5-large-squad")
6
- # Launch the Gradio interface with examples
7
- # gr.Interface(fn=predict, inputs=inputs, outputs=outputs, examples=examples).launch()
8
- gr.launch()
 
1
  import gradio as gr
2
+ gr.load("models/DevBM/t5-large-squad").launch()