Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
#
|
5 |
-
|
|
|
6 |
|
7 |
def answer_question(context, question):
|
8 |
"""
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
# Specify the model explicitly
|
5 |
+
model_name = "rahul7star/Rahul-FineTunedLLM-v03"
|
6 |
+
qa_pipeline = pipeline("question-answering", model=model_name)
|
7 |
|
8 |
def answer_question(context, question):
|
9 |
"""
|