eljanmahammadli commited on
Commit
b632a34
1 Parent(s): 937eda1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -163,12 +163,8 @@ with gr.Blocks() as demo:
163
  with gr.Row():
164
  QLabel = gr.Label(label="Humanized")
165
  with gr.Row():
166
- highlighter_iface = gr.Interface(
167
- inputs=gr.Textbox(lines=10, label="Input Text"),
168
- outputs=gr.HTML(label="Highlighted Sentences"),
169
- examples=[
170
- ["I love sunny days. However, I hate the rain. Today is an okay day."]
171
- ])
172
 
173
 
174
  with gr.Group():
@@ -287,7 +283,7 @@ with gr.Blocks() as demo:
287
  quillbot_highlighter.click(
288
  fn=analyze_and_highlight,
289
  inputs=[input_text],
290
- outputs=[highlighter_iface],
291
  api_name="quillbot_highlighter",
292
  )
293
 
 
163
  with gr.Row():
164
  QLabel = gr.Label(label="Humanized")
165
  with gr.Row():
166
+ with gr.Row():
167
+ highlighter_iface = gr.Label(label='Humanized Highlighter')
 
 
 
 
168
 
169
 
170
  with gr.Group():
 
283
  quillbot_highlighter.click(
284
  fn=analyze_and_highlight,
285
  inputs=[input_text],
286
+ outputs=gr.HTML([highlighter_iface]),
287
  api_name="quillbot_highlighter",
288
  )
289