Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -114,7 +114,7 @@ iface = gr.Interface(fn=generate_output,
|
|
| 114 |
inputs=[
|
| 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") ],
|
|
|
|
| 114 |
inputs=[
|
| 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") ],
|