Spaces:
Sleeping
Sleeping
Commit ·
5321479
1
Parent(s): f4909e4
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,11 +10,9 @@ import os
|
|
| 10 |
import gradio as gr
|
| 11 |
|
| 12 |
hf_google_flan_t5_xxl = lc.HuggingFaceHub(
|
| 13 |
-
repo_id = 'google/flan-t5-xxl'
|
| 14 |
-
model_kwargs = {"temperature": 0.5, "max_length": 64}
|
| 15 |
)
|
| 16 |
|
| 17 |
-
|
| 18 |
hf_gpt2_xl = lc.HuggingFaceHub(repo_id = 'gpt2-xl')
|
| 19 |
|
| 20 |
sentence_embeddings = lc_embed.HuggingFaceInferenceAPIEmbeddings(
|
|
|
|
| 10 |
import gradio as gr
|
| 11 |
|
| 12 |
hf_google_flan_t5_xxl = lc.HuggingFaceHub(
|
| 13 |
+
repo_id = 'google/flan-t5-xxl'
|
|
|
|
| 14 |
)
|
| 15 |
|
|
|
|
| 16 |
hf_gpt2_xl = lc.HuggingFaceHub(repo_id = 'gpt2-xl')
|
| 17 |
|
| 18 |
sentence_embeddings = lc_embed.HuggingFaceInferenceAPIEmbeddings(
|