yetessam commited on
Commit
0b80b32
·
verified ·
1 Parent(s): 5d06296

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -9
app.py CHANGED
@@ -17,16 +17,8 @@ from agents.prompts import load_prompts
17
 
18
  from ContentGradio import ContentAgentUI
19
 
20
- # Try a direct test of your endpoint
21
- test_prompt = "Hello, how are you?"
22
- response = requests.post(
23
- endpoint_uri,
24
- json={"inputs": test_prompt},
25
- headers={"Authorization": f"Bearer {os.getenv('HF_TOKEN')}"}
26
- )
27
- print(response.json())
28
-
29
 
 
30
 
31
 
32
  def initialize_agent(endpoint_uri: str):
 
17
 
18
  from ContentGradio import ContentAgentUI
19
 
 
 
 
 
 
 
 
 
 
20
 
21
+
22
 
23
 
24
  def initialize_agent(endpoint_uri: str):