Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- __pycache__/gradio_app.cpython-311.pyc +0 -0
- gradio_app.py +3 -3
__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
@@ -48,9 +48,9 @@ def generate(input_text):
|
|
48 |
com = prompt.format(fact=input_text)
|
49 |
print(input_text)
|
50 |
chat_completion = client.chat.completions.create(
|
51 |
-
|
52 |
-
model='Qwen/Qwen1.5-72B-Chat-GPTQ-Int4',
|
53 |
-
temperature=0.
|
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 |
{
|
|
|
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 |
{
|