GustavoDLRA commited on
Commit
ac8e513
·
verified ·
1 Parent(s): 698febc

Changed The Model to Deepseek

Browse files
Files changed (1) hide show
  1. app.py +1 -59
app.py CHANGED
@@ -1,61 +1,3 @@
1
-
2
- Hugging Face's logo Hugging Face
3
-
4
- Models
5
- Datasets
6
- Spaces
7
- Buckets new
8
- Docs
9
- Enterprise
10
- Pricing
11
- Website
12
- Tasks
13
- HuggingChat
14
- Collections
15
- Languages
16
- Organizations
17
- Community
18
- Blog
19
- Posts
20
- Daily Papers
21
- Learn
22
- Discord
23
- Forum
24
- GitHub
25
- Solutions
26
- Team & Enterprise
27
- Hugging Face PRO
28
- Enterprise Support
29
- Inference Providers
30
- Inference Endpoints
31
- Storage Buckets
32
-
33
- Spaces:
34
- GustavoDLRA
35
- /
36
- Final_Assignment_Template
37
- App
38
- Files
39
- Community
40
- Settings
41
- Final_Assignment_Template
42
- / app.py
43
- GustavoDLRA's picture
44
- GustavoDLRA
45
- Added HF environment model
46
- edfb300
47
- verified
48
- 37 minutes ago
49
- raw
50
- history
51
- blame
52
- 14.8 kB
53
- import os
54
- import gradio as gr
55
- import requests
56
- import inspect
57
- import pandas as pd
58
-
59
  # --------- AGENT IMPORTS ---------------
60
  # Read Data
61
  # Retriever Tool
@@ -88,7 +30,7 @@ SYSTEM_PROMPT = "You are a general AI assistant. I will ask you a question. Repo
88
 
89
 
90
  llm = HuggingFaceEndpoint(
91
- repo_id="Qwen/Qwen2.5-7B-Instruct",
92
  task="text-generation",
93
  huggingfacehub_api_token=os.getenv("HF_TOKEN"),
94
  temperature=0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # --------- AGENT IMPORTS ---------------
2
  # Read Data
3
  # Retriever Tool
 
30
 
31
 
32
  llm = HuggingFaceEndpoint(
33
+ repo_id="deepseek-ai/DeepSeek-V4-Flash:cheapest",
34
  task="text-generation",
35
  huggingfacehub_api_token=os.getenv("HF_TOKEN"),
36
  temperature=0,