Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,2 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
|
| 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()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|