Spaces:
Runtime error
Runtime error
Yash Sachdeva
commited on
Commit
·
9739f59
1
Parent(s):
2a7d4ea
response
Browse files- question_paper.py +1 -1
question_paper.py
CHANGED
@@ -22,7 +22,7 @@ app.add_middleware(
|
|
22 |
allow_headers=["*"],
|
23 |
)
|
24 |
|
25 |
-
@app.get("/")
|
26 |
def llama():
|
27 |
# prompt = [{'role': 'user', 'content': ""+input}]
|
28 |
# inputs = TOKENIZER.apply_chat_template( prompt, add_generation_prompt=True, return_tensors='pt' )
|
|
|
22 |
allow_headers=["*"],
|
23 |
)
|
24 |
|
25 |
+
@app.get("/input")
|
26 |
def llama():
|
27 |
# prompt = [{'role': 'user', 'content': ""+input}]
|
28 |
# inputs = TOKENIZER.apply_chat_template( prompt, add_generation_prompt=True, return_tensors='pt' )
|