Jyotiyadav commited on
Commit
6acf96c
·
verified ·
1 Parent(s): 8278399

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -115,10 +115,9 @@ iface = gr.Interface(fn=generate_output,
115
  gr.inputs.Textbox(label="Input Text"),
116
  gr.inputs.Dropdown(label="Select the Fine-tuned Model", choices=["DataIntelligenceTeam/NER-Phi-3-mini-4k-instruct","DataIntelligenceTeam/llama-3-8b-Instruct-bnb-4bit"])
117
  ]
118
- outputs= [
119
  gr.outputs.Textbox(label="Original Output Text"),
120
- gr.outputs.Textbox(label="Formatted JSON")
121
- ],
122
  #examples=examples,
123
  title="Email Information Extraction",
124
  description="Extract key information from the provided email.")
 
115
  gr.inputs.Textbox(label="Input Text"),
116
  gr.inputs.Dropdown(label="Select the Fine-tuned Model", choices=["DataIntelligenceTeam/NER-Phi-3-mini-4k-instruct","DataIntelligenceTeam/llama-3-8b-Instruct-bnb-4bit"])
117
  ]
118
+ outputs=[
119
  gr.outputs.Textbox(label="Original Output Text"),
120
+ gr.outputs.Textbox(label="Formatted JSON") ],
 
121
  #examples=examples,
122
  title="Email Information Extraction",
123
  description="Extract key information from the provided email.")