Commit ·
3c556b8
1
Parent(s): 9a7a2a3
requirements update
Browse files- app.py +2 -2
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -242,8 +242,8 @@ def run_generation(spec, use_rag, top_k, model_choice, api_key, temperature, top
|
|
| 242 |
return code.strip(), ("\n".join(retrieved_preview) if retrieved_preview else ""), [d[0].page_content for d in docs_with_scores]
|
| 243 |
|
| 244 |
|
| 245 |
-
with gr.Blocks(title="
|
| 246 |
-
gr.Markdown("##
|
| 247 |
|
| 248 |
with gr.Row():
|
| 249 |
with gr.Column(scale=2):
|
|
|
|
| 242 |
return code.strip(), ("\n".join(retrieved_preview) if retrieved_preview else ""), [d[0].page_content for d in docs_with_scores]
|
| 243 |
|
| 244 |
|
| 245 |
+
with gr.Blocks(title="DeepV for RTL (Model-Agnostic)") as demo:
|
| 246 |
+
gr.Markdown("## DeepV for RTL Code Generation — Model-Agnostic (Bring Your Own API Key)")
|
| 247 |
|
| 248 |
with gr.Row():
|
| 249 |
with gr.Column(scale=2):
|
requirements.txt
CHANGED
|
@@ -5,3 +5,4 @@ datasets>=2.20.0
|
|
| 5 |
faiss-cpu==1.7.4
|
| 6 |
langchain-community>=0.2.10
|
| 7 |
langchain-huggingface>=0.0.6
|
|
|
|
|
|
| 5 |
faiss-cpu==1.7.4
|
| 6 |
langchain-community>=0.2.10
|
| 7 |
langchain-huggingface>=0.0.6
|
| 8 |
+
sentence-transformers
|