Alexvatti commited on
Commit
cd28349
·
verified ·
1 Parent(s): fd46fd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,13 +72,13 @@ with gr.Blocks() as demo:
72
  summary_output = gr.Textbox(label="Summary")
73
  summary_btn.click(summarize_text, inputs=summary_input, outputs=summary_output)
74
 
75
- with gr.Tab("5️⃣ Text Generation"):
76
  text_input = gr.Textbox(label="Text Prompt", placeholder="Start your text...")
77
  text_btn = gr.Button("Generate Text")
78
  text_output = gr.Textbox(label="Generated Text")
79
  text_btn.click(generate_text, inputs=text_input, outputs=text_output)
80
 
81
- with gr.Tab("6️⃣ Text Classification"):
82
  classify_input = gr.Textbox(label="Enter Text", placeholder="Enter a sentence...")
83
  classify_btn = gr.Button("Classify Sentiment")
84
  classify_output = gr.Textbox(label="Classification Result")
 
72
  summary_output = gr.Textbox(label="Summary")
73
  summary_btn.click(summarize_text, inputs=summary_input, outputs=summary_output)
74
 
75
+ with gr.Tab("4️⃣ Text Generation"):
76
  text_input = gr.Textbox(label="Text Prompt", placeholder="Start your text...")
77
  text_btn = gr.Button("Generate Text")
78
  text_output = gr.Textbox(label="Generated Text")
79
  text_btn.click(generate_text, inputs=text_input, outputs=text_output)
80
 
81
+ with gr.Tab("5️⃣ Text Classification"):
82
  classify_input = gr.Textbox(label="Enter Text", placeholder="Enter a sentence...")
83
  classify_btn = gr.Button("Classify Sentiment")
84
  classify_output = gr.Textbox(label="Classification Result")