research14 commited on
Commit
4ebd536
1 Parent(s): 435dfc5
Files changed (2) hide show
  1. __pycache__/run_llm.cpython-311.pyc +0 -0
  2. app.py +3 -3
__pycache__/run_llm.cpython-311.pyc CHANGED
Binary files a/__pycache__/run_llm.cpython-311.pyc and b/__pycache__/run_llm.cpython-311.pyc differ
 
app.py CHANGED
@@ -42,9 +42,9 @@ iface = gr.Interface(
42
  gr.Textbox(label="Input Text", placeholder="Enter the text to process..."),
43
  ],
44
  outputs=[
45
- gr.Textbox(label="Strategy 1 QA Result", output_transform=lambda x: json.dumps(x, indent=2)),
46
- gr.Textbox(label="Strategy 2 Instruction Result", output_transform=lambda x: json.dumps(x, indent=2)),
47
- gr.Textbox(label="Strategy 3 Structured Prompting Result", output_transform=lambda x: json.dumps(x, indent=2)),
48
  ],
49
  theme = theme,
50
  live=False,
 
42
  gr.Textbox(label="Input Text", placeholder="Enter the text to process..."),
43
  ],
44
  outputs=[
45
+ gr.Textbox(label="Strategy 1 QA Result"),
46
+ gr.Textbox(label="Strategy 2 Instruction Result"),
47
+ gr.Textbox(label="Strategy 3 Structured Prompting Result"),
48
  ],
49
  theme = theme,
50
  live=False,