Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def get_openai_response(question):
|
|
| 12 |
# response=llm(question)
|
| 13 |
# except:
|
| 14 |
llm_hugg = HuggingFaceHub(repo_id="google/flan-t5-large",model_kwargs={'temperature':0, "max_length":64})
|
| 15 |
-
response=
|
| 16 |
return response
|
| 17 |
|
| 18 |
st.set_page_config(page_title="Q&A Demo")
|
|
|
|
| 12 |
# response=llm(question)
|
| 13 |
# except:
|
| 14 |
llm_hugg = HuggingFaceHub(repo_id="google/flan-t5-large",model_kwargs={'temperature':0, "max_length":64})
|
| 15 |
+
response=llm_hugg(question)
|
| 16 |
return response
|
| 17 |
|
| 18 |
st.set_page_config(page_title="Q&A Demo")
|