Tejasw1 commited on
Commit
ab6891b
1 Parent(s): e6adeaf

Upload folder using huggingface_hub

Browse files
__pycache__/gradio_app.cpython-311.pyc CHANGED
Binary files a/__pycache__/gradio_app.cpython-311.pyc and b/__pycache__/gradio_app.cpython-311.pyc differ
 
gradio_app.py CHANGED
@@ -47,10 +47,10 @@ Fact Statement: ```{fact}```
47
  def generate(input_text):
48
  com = prompt.format(fact=input_text)
49
  print(input_text)
50
- chat_completion = client.chat.completions.create(
51
- model="gpt-4-turbo",
52
- # model='Qwen/Qwen1.5-72B-Chat-GPTQ-Int4',
53
- temperature=0.4,
54
  messages=[
55
  {"role": "system", "content": "You are a helpful assistant who is expert in tagging FIRs with relevant statutes from IPC among other special acts."},
56
  {
 
47
  def generate(input_text):
48
  com = prompt.format(fact=input_text)
49
  print(input_text)
50
+ chat_completion = mistral_client.chat.completions.create(
51
+ # model="gpt-4-turbo",
52
+ model='Qwen/Qwen1.5-72B-Chat-GPTQ-Int4',
53
+ temperature=0.5,
54
  messages=[
55
  {"role": "system", "content": "You are a helpful assistant who is expert in tagging FIRs with relevant statutes from IPC among other special acts."},
56
  {